diff options
| author | 2024-02-01 16:37:52 +0800 | |
|---|---|---|
| committer | 2024-03-01 09:12:24 -0500 | |
| commit | 649e58d59322690f3d5f829d6c689e16a974b979 (patch) | |
| tree | a9a69163573eec4f56cd7cf1926ebd54335a1fd2 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | nfsd: Simplify the allocation of slab caches in nfsd_drc_slab_create (diff) | |
nfsd: Simplify the allocation of slab caches in nfsd4_init_slabs
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.
Make the code cleaner and more readable.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
