diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-31 15:09:41 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-02-02 13:11:50 +0100 |
commit | 617fc7775370324d0a2b888625b042221ebdcb62 (patch) | |
tree | cd670887061647821cb329613a2368a3e408532f /fs/mbcache.c | |
parent | c67ef897fe08effad98f0c7fb9223fa1f771d09e (diff) | |
download | lwn-617fc7775370324d0a2b888625b042221ebdcb62.tar.gz lwn-617fc7775370324d0a2b888625b042221ebdcb62.zip |
fs: Use KMEM_CACHE instead of kmem_cache_create
commit 0a31bd5f2bbb ("KMEM_CACHE(): simplify slab cache creation")
introduces a new macro.
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Link: https://lore.kernel.org/r/20240131070941.135178-1-chentao@kylinos.cn
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions