udf: Remove unused s_extLength from udf_bitmap
authorJan Kara <jack@suse.cz>
Tue, 5 Feb 2013 12:58:29 +0000 (13:58 +0100)
committerJan Kara <jack@suse.cz>
Tue, 5 Feb 2013 16:29:53 +0000 (17:29 +0100)
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>
fs/udf/super.c
fs/udf/udf_sb.h

index f8830803d389276ef1600eb43ab99d6824bb795d..bc5b30a819e82e8622d2ead088c52ef5cf7c268e 100644 (file)
@@ -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;
index 4f7ddb796991dcfc4658af5c2b65eb71beb838d8..ed401e94aa8c956dd8685ab33f496fc4ea52eec7 100644 (file)
@@ -80,7 +80,6 @@ struct udf_virtual_data {
 };
 
 struct udf_bitmap {
-       __u32                   s_extLength;
        __u32                   s_extPosition;
        int                     s_nr_groups;
        struct buffer_head      *s_block_bitmap[0];