diff options
author | Amir Goldstein <amir73il@users.sf.net> | 2011-05-10 03:52:36 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-05-10 03:52:36 +0200 |
commit | 44183d4231a52a797beb477f962e1d361e31299d (patch) | |
tree | 51ab7183ba8592db316cc189b063d49d8109d58f /fs/ext4/mballoc.h | |
parent | ext4: teach ext4_mb_init_cache() to skip uptodate buddy caches (diff) | |
download | linux-44183d4231a52a797beb477f962e1d361e31299d.tar.xz linux-44183d4231a52a797beb477f962e1d361e31299d.zip |
ext4: remove alloc_semp
After taking care of all group init races, all that remains is to
remove alloc_semp from ext4_allocation_context and ext4_buddy structs.
Signed-off-by: Amir Goldstein <amir73il@users.sf.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.h')
-rw-r--r-- | fs/ext4/mballoc.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ext4/mballoc.h b/fs/ext4/mballoc.h index 22bd4d7f289b..20b5e7bfebd1 100644 --- a/fs/ext4/mballoc.h +++ b/fs/ext4/mballoc.h @@ -193,11 +193,6 @@ struct ext4_allocation_context { __u8 ac_op; /* operation, for history only */ struct page *ac_bitmap_page; struct page *ac_buddy_page; - /* - * pointer to the held semaphore upon successful - * block allocation - */ - struct rw_semaphore *alloc_semp; struct ext4_prealloc_space *ac_pa; struct ext4_locality_group *ac_lg; }; @@ -215,7 +210,6 @@ struct ext4_buddy { struct super_block *bd_sb; __u16 bd_blkbits; ext4_group_t bd_group; - struct rw_semaphore *alloc_semp; }; #define EXT4_MB_BITMAP(e4b) ((e4b)->bd_bitmap) #define EXT4_MB_BUDDY(e4b) ((e4b)->bd_buddy) |