From 9203ab9115160bf73caa18c6b6f1d9b7d6f2d298 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Tue, 8 Apr 2008 01:16:32 +0200 Subject: [PATCH] --- yaml --- r: 91837 b: refs/heads/master c: c82a127505d39fa81c886eceed6fdf8c1ff4a06b h: refs/heads/master i: 91835: c502406d4b0b56dc97177505a5785bf0a6e30749 v: v3 --- [refs] | 2 +- trunk/fs/udf/super.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 8e08309500d0..703d6cb58d64 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4f7874c868eaedd0e64b2f6c800bc852bdc7f38b +refs/heads/master: c82a127505d39fa81c886eceed6fdf8c1ff4a06b diff --git a/trunk/fs/udf/super.c b/trunk/fs/udf/super.c index 28ed3f5ebd70..14f965e8a738 100644 --- a/trunk/fs/udf/super.c +++ b/trunk/fs/udf/super.c @@ -1256,12 +1256,12 @@ static int udf_load_logicalvol(struct super_block *sb, sector_t block, u16 suf = le16_to_cpu(((__le16 *)upm2->partIdent. identSuffix)[0]); - if (suf == 0x0150) { + if (suf < 0x0200) { map->s_partition_type = UDF_VIRTUAL_MAP15; map->s_partition_func = udf_get_pblock_virt15; - } else if (suf == 0x0200) { + } else { map->s_partition_type = UDF_VIRTUAL_MAP20; map->s_partition_func =