Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Jan Kara 288be96d c60305b5

-5
-4
fs/udf/super.c
··· 1080 1080 if (!bitmap) 1081 1081 return 1; 1082 1082 map->s_uspace.s_bitmap = bitmap; 1083 - bitmap->s_extLength = le32_to_cpu( 1084 - phd->unallocSpaceBitmap.extLength); 1085 1083 bitmap->s_extPosition = le32_to_cpu( 1086 1084 phd->unallocSpaceBitmap.extPosition); 1087 1085 map->s_partition_flags |= UDF_PART_FLAG_UNALLOC_BITMAP; ··· 1114 1116 if (!bitmap) 1115 1117 return 1; 1116 1118 map->s_fspace.s_bitmap = bitmap; 1117 - bitmap->s_extLength = le32_to_cpu( 1118 - phd->freedSpaceBitmap.extLength); 1119 1119 bitmap->s_extPosition = le32_to_cpu( 1120 1120 phd->freedSpaceBitmap.extPosition); 1121 1121 map->s_partition_flags |= UDF_PART_FLAG_FREED_BITMAP;
-1
fs/udf/udf_sb.h
··· 80 80 }; 81 81 82 82 struct udf_bitmap { 83 - __u32 s_extLength; 84 83 __u32 s_extPosition; 85 84 int s_nr_groups; 86 85 struct buffer_head *s_block_bitmap[0];