diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-31 14:56:53 +0800 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-03-01 09:12:23 -0500 |
commit | 2f74991a494bdc8b24a63a26b9266b0992321b5f (patch) | |
tree | 8d4344d0e2fbb647e4bea06fa14797008a40ac9c /fs/nfsd/nfscache.c | |
parent | 10bcc2f1c875973f8c6ee295a827ace58bd61648 (diff) |
nfsd: Simplify the allocation of slab caches in nfsd_file_cache_init
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>
Acked-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfscache.c')
0 files changed, 0 insertions, 0 deletions