aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorChengming Zhou <[email protected]>2024-02-24 13:47:09 +0000
committerDavid Sterba <[email protected]>2024-03-05 16:13:23 +0000
commitef5a05c55704c42df77c9ca0be721f031bb9c510 (patch)
treeddb14d67c342f820a9a5b43c32606f6ba3aaeb3f /fs/btrfs/delayed-inode.c
parentbtrfs: qgroup: always free reserved space for extent records (diff)
downloadkernel-ef5a05c55704c42df77c9ca0be721f031bb9c510.tar.gz
kernel-ef5a05c55704c42df77c9ca0be721f031bb9c510.zip
btrfs: remove SLAB_MEM_SPREAD flag use
The SLAB_MEM_SPREAD flag used to be implemented in SLAB, which was removed as of v6.8-rc1, 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 to avoid confusion for users. Here we can just remove all its users, which has no functional change. [1] https://lore.kernel.org/all/[email protected]/ Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Chengming Zhou <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
-rw-r--r--fs/btrfs/delayed-inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c
index 0a7a40d97e91..dd6f566a383f 100644
--- a/fs/btrfs/delayed-inode.c
+++ b/fs/btrfs/delayed-inode.c
@@ -28,7 +28,7 @@ static struct kmem_cache *delayed_node_cache;
int __init btrfs_delayed_inode_init(void)
{
- delayed_node_cache = KMEM_CACHE(btrfs_delayed_node, SLAB_MEM_SPREAD);
+ delayed_node_cache = KMEM_CACHE(btrfs_delayed_node, 0);
if (!delayed_node_cache)
return -ENOMEM;
return 0;