diff options
-rw-r--r-- | fs/udf/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index 28ed3f5ebd70..14f965e8a738 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1256,12 +1256,12 @@ static int udf_load_logicalvol(struct super_block *sb, sector_t block, | |||
1256 | u16 suf = | 1256 | u16 suf = |
1257 | le16_to_cpu(((__le16 *)upm2->partIdent. | 1257 | le16_to_cpu(((__le16 *)upm2->partIdent. |
1258 | identSuffix)[0]); | 1258 | identSuffix)[0]); |
1259 | if (suf == 0x0150) { | 1259 | if (suf < 0x0200) { |
1260 | map->s_partition_type = | 1260 | map->s_partition_type = |
1261 | UDF_VIRTUAL_MAP15; | 1261 | UDF_VIRTUAL_MAP15; |
1262 | map->s_partition_func = | 1262 | map->s_partition_func = |
1263 | udf_get_pblock_virt15; | 1263 | udf_get_pblock_virt15; |
1264 | } else if (suf == 0x0200) { | 1264 | } else { |
1265 | map->s_partition_type = | 1265 | map->s_partition_type = |
1266 | UDF_VIRTUAL_MAP20; | 1266 | UDF_VIRTUAL_MAP20; |
1267 | map->s_partition_func = | 1267 | map->s_partition_func = |