]> Pileus Git - ~andy/linux/commit
udf: Make s_block_bitmap standard array
authorJan Kara <jack@suse.cz>
Tue, 5 Feb 2013 13:08:57 +0000 (14:08 +0100)
committerJan Kara <jack@suse.cz>
Tue, 5 Feb 2013 16:29:52 +0000 (17:29 +0100)
commitc60305b578674eefe333198c7476dba2178a9082
tree18cfda5512da015ff9d3b912f369f8987c941462
parent89b1f39eb4189de745fae554b0d614d87c8d5c63
udf: Make s_block_bitmap standard array

struct udf_bitmap has array of buffer pointers attached to it. The code
unnecessarily used s_block_bitmap as a pointer to the array instead of
the standard trick of using 0 length array in the declaration. Change
that to make code more readable and actually shrink the structure by one
pointer.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c
fs/udf/udf_sb.h