diff options
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r-- | fs/udf/super.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 4d1e197164b7..913ece8eec61 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1263,7 +1263,10 @@ static int udf_process_sequence(struct super_block *sb, long block, | |||
1263 | if (i == VDS_POS_PRIMARY_VOL_DESC) { | 1263 | if (i == VDS_POS_PRIMARY_VOL_DESC) { |
1264 | udf_load_pvoldesc(sb, bh); | 1264 | udf_load_pvoldesc(sb, bh); |
1265 | } else if (i == VDS_POS_LOGICAL_VOL_DESC) { | 1265 | } else if (i == VDS_POS_LOGICAL_VOL_DESC) { |
1266 | udf_load_logicalvol(sb, bh, fileset); /* TODO: check return value */ | 1266 | if (udf_load_logicalvol(sb, bh, fileset)) { |
1267 | brelse(bh); | ||
1268 | return 1; | ||
1269 | } | ||
1267 | } else if (i == VDS_POS_PARTITION_DESC) { | 1270 | } else if (i == VDS_POS_PARTITION_DESC) { |
1268 | struct buffer_head *bh2 = NULL; | 1271 | struct buffer_head *bh2 = NULL; |
1269 | if (udf_load_partdesc(sb, bh)) { | 1272 | if (udf_load_partdesc(sb, bh)) { |