diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2024-02-24 14:49:35 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-02-27 11:21:32 +0100 |
commit | 195b3678bea35fde0619f17b73847c30e66d79d0 (patch) | |
tree | c018d1aa09366e28623cdeaebd974e6de97116ce /fs/minix | |
parent | openpromfs: remove SLAB_MEM_SPREAD flag usage (diff) | |
download | linux-195b3678bea35fde0619f17b73847c30e66d79d0.tar.xz linux-195b3678bea35fde0619f17b73847c30e66d79d0.zip |
minix: 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 16a1d968358a ("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/20240224134935.829715-1-chengming.zhou@linux.dev
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/minix')
-rw-r--r-- | fs/minix/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/minix/inode.c b/fs/minix/inode.c index 73f37f298087..7cbd2b9f4d11 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c @@ -87,7 +87,7 @@ static int __init init_inodecache(void) minix_inode_cachep = kmem_cache_create("minix_inode_cache", sizeof(struct minix_inode_info), 0, (SLAB_RECLAIM_ACCOUNT| - SLAB_MEM_SPREAD|SLAB_ACCOUNT), + SLAB_ACCOUNT), init_once); if (minix_inode_cachep == NULL) return -ENOMEM; |