diff options
author | Jeff Mahoney <jeffm@suse.com> | 2007-10-19 02:39:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:35 -0400 |
commit | 4d20851d3757ba5bece263a4c8c5a2bd4983cb5d (patch) | |
tree | ac89f9cf860801675e587c38c39fd9e6bd2204da /include/linux/reiserfs_fs_sb.h | |
parent | 3ee1667042c350003b9d3f35e5666cc8c43ce8aa (diff) |
reiserfs: remove first_zero_hint
The first_zero_hint metadata caching was never actually used, and it's of
dubious optimization quality. This patch removes it.
It doesn't actually shrink the size of the reiserfs_bitmap_info struct, since
that doesn't work with block sizes larger than 8K. There was a big fixme in
there, and with all the work lately in allowing block size > page size, I
might as well kill the fixme as well.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/reiserfs_fs_sb.h')
-rw-r--r-- | include/linux/reiserfs_fs_sb.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/reiserfs_fs_sb.h b/include/linux/reiserfs_fs_sb.h index ff9e9234f8ba..10fa0c832018 100644 --- a/include/linux/reiserfs_fs_sb.h +++ b/include/linux/reiserfs_fs_sb.h | |||
@@ -265,9 +265,7 @@ enum journal_state_bits { | |||
265 | typedef __u32(*hashf_t) (const signed char *, int); | 265 | typedef __u32(*hashf_t) (const signed char *, int); |
266 | 266 | ||
267 | struct reiserfs_bitmap_info { | 267 | struct reiserfs_bitmap_info { |
268 | // FIXME: Won't work with block sizes > 8K | 268 | __u32 free_count; |
269 | __u16 first_zero_hint; | ||
270 | __u16 free_count; | ||
271 | }; | 269 | }; |
272 | 270 | ||
273 | struct proc_dir_entry; | 271 | struct proc_dir_entry; |