Commit 66ce544
btrfs: use KMEM_CACHE() to create btrfs_path 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 2753b4d commit 66ce544
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5086 | 5086 | | |
5087 | 5087 | | |
5088 | 5088 | | |
5089 | | - | |
5090 | | - | |
5091 | | - | |
| 5089 | + | |
5092 | 5090 | | |
5093 | 5091 | | |
5094 | 5092 | | |
| |||
0 commit comments