From af43ff2c9d8876a07fcb75549388cc51e83b7da7 Mon Sep 17 00:00:00 2001 From: Nikola Pajkovsky Date: Wed, 15 Aug 2012 00:38:08 +0200 Subject: [PATCH] --- yaml --- r: 322201 b: refs/heads/master c: 68766a2edcd5cd744262a70a2f67a320ac944760 h: refs/heads/master i: 322199: befa3f4add810b4d7e624fbdbf93a9e3a0348cd2 v: v3 --- [refs] | 2 +- trunk/fs/udf/super.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8bb7307e22b3..8e4c1a60268e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2e84f2641ea91a730642ead558a4ee3bd52310c9 +refs/heads/master: 68766a2edcd5cd744262a70a2f67a320ac944760 diff --git a/trunk/fs/udf/super.c b/trunk/fs/udf/super.c index 9f55f7981b7d..18fc038a438d 100644 --- a/trunk/fs/udf/super.c +++ b/trunk/fs/udf/super.c @@ -1344,6 +1344,7 @@ static int udf_load_logicalvol(struct super_block *sb, sector_t block, udf_err(sb, "error loading logical volume descriptor: " "Partition table too long (%u > %lu)\n", table_len, sb->s_blocksize - sizeof(*lvd)); + ret = 1; goto out_bh; } @@ -1388,8 +1389,10 @@ static int udf_load_logicalvol(struct super_block *sb, sector_t block, UDF_ID_SPARABLE, strlen(UDF_ID_SPARABLE))) { if (udf_load_sparable_map(sb, map, - (struct sparablePartitionMap *)gpm) < 0) + (struct sparablePartitionMap *)gpm) < 0) { + ret = 1; goto out_bh; + } } else if (!strncmp(upm2->partIdent.ident, UDF_ID_METADATA, strlen(UDF_ID_METADATA))) {