You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Linus Torvalds
parent
3ee1667042
commit
4d20851d37
@@ -265,9 +265,7 @@ enum journal_state_bits {
|
||||
typedef __u32(*hashf_t) (const signed char *, int);
|
||||
|
||||
struct reiserfs_bitmap_info {
|
||||
// FIXME: Won't work with block sizes > 8K
|
||||
__u16 first_zero_hint;
|
||||
__u16 free_count;
|
||||
__u32 free_count;
|
||||
};
|
||||
|
||||
struct proc_dir_entry;
|
||||
|
||||
Reference in New Issue
Block a user