]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
smb: remove SLAB_MEM_SPREAD flag usage
authorChengming Zhou <zhouchengming@bytedance.com>
Sat, 24 Feb 2024 13:58:09 +0000 (13:58 +0000)
committerSteve 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

index 0c269396ae151b083b4e545e58b2300ca16e0ee3..62c4d54b301e21e29acb385fca71f91785a9bb45 100644 (file)
@@ -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;