exfat: remove SLAB_MEM_SPREAD flag usage
Subsystems (3)
PATCH 1/1 exfat: remove SLAB_MEM_SPREAD flag usage
From: Chengming Zhou <[email protected]>
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.
Signed-off-by Chengming Zhou <[email protected]>
--- fs/exfat/cache.c | 2 +- fs/exfat/super.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
fs/exfat/cache.c +1 -1
@@ -46,7 +46,7 @@ int exfat_cache_init(void) { exfat_cachep =kmem_cache_create ("exfat_cache" ,sizeof (struct exfat_cache ), -0 ,SLAB_RECLAIM_ACCOUNT |SLAB_MEM_SPREAD , +0 ,SLAB_RECLAIM_ACCOUNT , exfat_cache_init_once);if (!exfat_cachep)return -ENOMEM ;
fs/exfat/super.c +1 -1
@@ -811,7 +811,7 @@ static int __init init_exfat_fs(void) exfat_inode_cachep =kmem_cache_create ("exfat_inode_cache" ,sizeof (struct exfat_inode_info ), -0 ,SLAB_RECLAIM_ACCOUNT |SLAB_MEM_SPREAD , +0 ,SLAB_RECLAIM_ACCOUNT , exfat_inode_init_once);if (!exfat_inode_cachep) { err = -ENOMEM ;
Signature · 1 line
2.40.1
2024-02-24 22:48 GMT+09:00, [email protected] <[email protected]>:
Quoted 6 lines
From: Chengming Zhou <[email protected]>
The
SLAB_MEM_SPREADflag is already a no-op as of 6.8-rc1, remove its usage so we can delete it from slab. No functional change.Signed-off-by Chengming Zhou <[email protected]>
Applied it to #dev.
Thanks for your patch!