Commit 06c9564
btrfs: use KMEM_CACHE() to create btrfs_free_space cache
Use the KMEM_CACHE() macro instead of kmem_cache_create() to simplify
the creation of SLAB caches when the default values are used.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent b2c7d55 commit 06c9564
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4154 | 4154 | | |
4155 | 4155 | | |
4156 | 4156 | | |
4157 | | - | |
4158 | | - | |
4159 | | - | |
| 4157 | + | |
4160 | 4158 | | |
4161 | 4159 | | |
4162 | 4160 | | |
| |||
0 commit comments