summaryrefslogtreecommitdiffstats
path: root/fs/udf/super.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-02-05 13:58:29 +0100
committerJan Kara <jack@suse.cz>2013-02-05 17:29:53 +0100
commit288be96de66fa7c09f2cf00a7793db5b4bac4213 (patch)
treec24f8fdae9c32bb22a2741b85a532a0c95d6067c /fs/udf/super.c
parentc60305b578674eefe333198c7476dba2178a9082 (diff)
downloadlinux-288be96de66fa7c09f2cf00a7793db5b4bac4213.tar.bz2
udf: Remove unused s_extLength from udf_bitmap
s_extLength was assigned to but the value was never really used. So just remove the field. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r--fs/udf/super.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c
index f8830803d389..bc5b30a819e8 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -1080,8 +1080,6 @@ static int udf_fill_partdesc_info(struct super_block *sb,
if (!bitmap)
return 1;
map->s_uspace.s_bitmap = bitmap;
- bitmap->s_extLength = le32_to_cpu(
- phd->unallocSpaceBitmap.extLength);
bitmap->s_extPosition = le32_to_cpu(
phd->unallocSpaceBitmap.extPosition);
map->s_partition_flags |= UDF_PART_FLAG_UNALLOC_BITMAP;
@@ -1116,8 +1114,6 @@ static int udf_fill_partdesc_info(struct super_block *sb,
if (!bitmap)
return 1;
map->s_fspace.s_bitmap = bitmap;
- bitmap->s_extLength = le32_to_cpu(
- phd->freedSpaceBitmap.extLength);
bitmap->s_extPosition = le32_to_cpu(
phd->freedSpaceBitmap.extPosition);
map->s_partition_flags |= UDF_PART_FLAG_FREED_BITMAP;