]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: use KMEM_CACHE() to create btrfs_ordered_extent cache
authorKunwu Chan <chentao@kylinos.cn>
Tue, 20 Feb 2024 09:06:41 +0000 (17:06 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:53 +0000 (16:24 +0100)
commit4bd3e126b2793313a5b85af5aefe51fefb1e205e
tree57902838e4d2589e7b92308e53455e9d6aa57df8
parent625c1e0638c90352af83035022332dafbe115494
btrfs: use KMEM_CACHE() to create btrfs_ordered_extent 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>
fs/btrfs/ordered-data.c