projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1eb537
)
smb: remove SLAB_MEM_SPREAD flag usage
author
Chengming Zhou
<zhouchengming@bytedance.com>
Sat, 24 Feb 2024 13:58:09 +0000
(13:58 +0000)
committer
Steve French
<stfrench@microsoft.com>
Mon, 11 Mar 2024 00:33:53 +0000
(19:33 -0500)
The SLAB_MEM_SPREAD flag is already a no-op as of 6.8-rc1, remove
its usage so we can delete it from slab. No functional change.
Link:
https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-0-02f1753e8303@suse.cz/
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsfs.c
patch
|
blob
|
history
diff --git
a/fs/smb/client/cifsfs.c
b/fs/smb/client/cifsfs.c
index 0c269396ae151b083b4e545e58b2300ca16e0ee3..62c4d54b301e21e29acb385fca71f91785a9bb45 100644
(file)
--- a/
fs/smb/client/cifsfs.c
+++ b/
fs/smb/client/cifsfs.c
@@
-1667,7
+1667,7
@@
cifs_init_inodecache(void)
cifs_inode_cachep = kmem_cache_create("cifs_inode_cache",
sizeof(struct cifsInodeInfo),
0, (SLAB_RECLAIM_ACCOUNT|
- SLAB_
MEM_SPREAD|SLAB_
ACCOUNT),
+ SLAB_ACCOUNT),
cifs_init_once);
if (cifs_inode_cachep == NULL)
return -ENOMEM;