diff options
author | David Sterba <dsterba@suse.cz> | 2014-07-30 00:55:42 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-02 17:30:29 +0200 |
commit | 97eb6b69d1e856cb5e1cf2c3d94afab643e93128 (patch) | |
tree | c5dd782e9ba00f1eb902850b81fe76ba73a5c328 /fs/btrfs/disk-io.h | |
parent | af13b4922b057b4ebc7e2315a6f666ecb65890e4 (diff) |
btrfs: use slab for end_io_wq structures
The structure is frequently reused. Rename it according to the slab
name.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 84da438fd9a3..9ac233923ca3 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h @@ -142,6 +142,8 @@ int btree_lock_page_hook(struct page *page, void *data, void (*flush_fn)(void *)); int btrfs_calc_num_tolerated_disk_barrier_failures( struct btrfs_fs_info *fs_info); +int __init btrfs_end_io_wq_init(void); +void btrfs_end_io_wq_exit(void); #ifdef CONFIG_DEBUG_LOCK_ALLOC void btrfs_init_lockdep(void); |