Commit e29dd522 authored by Chengming Zhou's avatar Chengming Zhou Committed by Jan Kara
Browse files

quota: remove SLAB_MEM_SPREAD flag usage



The SLAB_MEM_SPREAD flag is already a no-op after removal of SLAB
allocator and in [1] it was fully deprecated. Remove its usage so we can
delete it from slab. No functional change.

Signed-off-by: default avatarChengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/all/20240223-slab-cleanup-flags-v2-1-02f1753e8303@suse.cz/
Message-Id: <20240224135118.830073-1-chengming.zhou@linux.dev>
parent bbff9dc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3008,7 +3008,7 @@ static int __init dquot_init(void)
	dquot_cachep = kmem_cache_create("dquot",
			sizeof(struct dquot), sizeof(unsigned long) * 4,
			(SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
				SLAB_MEM_SPREAD|SLAB_PANIC),
				SLAB_PANIC),
			NULL);

	order = 0;