Skip to content

Commit 7ded1e3

Browse files
Chengming Zhoubrauner
authored andcommitted
efs: remove SLAB_MEM_SPREAD flag usage
The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was removed as of v6.8-rc1 (see [1]), so it became a dead flag since the commit 16a1d96 ("mm/slab: remove mm/slab.c and slab_def.h"). And the series[1] went on to mark it obsolete explicitly to avoid confusion for users. Here we can just remove all its users, which has no any functional change. Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com> Link: https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz [1] Link: https://lore.kernel.org/r/20240224134742.829325-1-chengming.zhou@linux.dev Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 2a95fd3 commit 7ded1e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/efs/super.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ static int __init init_inodecache(void)
9898
{
9999
efs_inode_cachep = kmem_cache_create("efs_inode_cache",
100100
sizeof(struct efs_inode_info), 0,
101-
SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD|
102-
SLAB_ACCOUNT, init_once);
101+
SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT,
102+
init_once);
103103
if (efs_inode_cachep == NULL)
104104
return -ENOMEM;
105105
return 0;

0 commit comments

Comments
 (0)