qnx4: remove SLAB_MEM_SPREAD flag usage
Subsystems (2)
PATCH 1/1 qnx4: 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/qnx4/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/qnx4/inode.c +1 -1
@@ -359,7 +359,7 @@ static int init_inodecache(void) qnx4_inode_cachep =kmem_cache_create ("qnx4_inode_cache" ,sizeof (struct qnx4_inode_info ),0 , (SLAB_RECLAIM_ACCOUNT | -SLAB_MEM_SPREAD |SLAB_ACCOUNT ), +SLAB_ACCOUNT ), init_once);if (qnx4_inode_cachep ==NULL )return -ENOMEM ;
Signature · 1 line
2.40.1
Quoted 15 lines · On 2024-02-24 14:50 [email protected] wrote:
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]>--- fs/qnx4/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/qnx4/inode.c +0
-0
fs/qnx4/inode.c static int init_inodecache(void) · line 365
Quoted 8 lines
fs/qnx4/inode.c +1
-1@@ -359,7 +359,7 @@ static int init_inodecache(void) qnx4_inode_cachep =kmem_cache_create ("qnx4_inode_cache" ,sizeof (struct qnx4_inode_info ),0 , (SLAB_RECLAIM_ACCOUNT | -SLAB_MEM_SPREAD |SLAB_ACCOUNT ), +SLAB_ACCOUNT ), init_once);if (qnx4_inode_cachep ==NULL )return -ENOMEM ;
Acked-by Anders Larsen <[email protected]>