Skip to content

Commit 82c6515

Browse files
Chengming Zhouaxboe
authored andcommitted
bdev: remove SLAB_MEM_SPREAD flag usage
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent af550e4 commit 82c6515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block/bdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ void __init bdev_cache_init(void)
377377

378378
bdev_cachep = kmem_cache_create("bdev_cache", sizeof(struct bdev_inode),
379379
0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
380-
SLAB_MEM_SPREAD|SLAB_ACCOUNT|SLAB_PANIC),
380+
SLAB_ACCOUNT|SLAB_PANIC),
381381
init_once);
382382
err = register_filesystem(&bd_type);
383383
if (err)

0 commit comments

Comments
 (0)