diff options
| author | Kunwu Chan <[email protected]> | 2024-02-05 07:51:44 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2024-05-12 20:17:41 +0000 |
| commit | 7096fae56f82d00bf9f1217e6267811cc553350c (patch) | |
| tree | b94f8becfff6e65056afd22915c3e2d3afd8a251 /net/unix/af_unix.c | |
| parent | jffs2: nodemgmt: fix kernel-doc comments (diff) | |
| download | kernel-7096fae56f82d00bf9f1217e6267811cc553350c.tar.gz kernel-7096fae56f82d00bf9f1217e6267811cc553350c.zip | |
jffs2: Simplify the allocation of slab caches
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.
And change cache name from 'jffs2_tmp_dnode' to 'jffs2_tmp_dnode_info'.
Signed-off-by: Kunwu Chan <[email protected]>
Reviewed-by: Zhihao Cheng <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
