]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: use KMEM_CACHE() to create btrfs_delayed_node cache
authorKunwu Chan <chentao@kylinos.cn>
Tue, 20 Feb 2024 09:06:40 +0000 (17:06 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Mar 2024 15:24:53 +0000 (16:24 +0100)
commit625c1e0638c90352af83035022332dafbe115494
treef467cdb06f359ca95a7cf8e7feb20b08deed6f25
parentd57dd52a85426d18c9a23accf249e73a54be674a
btrfs: use KMEM_CACHE() to create btrfs_delayed_node 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/delayed-inode.c