slub: Put objects_show() into CONFIG_SLUB_DEBUG enabled block
authorXiongwei Song <xiongwei.song@windriver.com>
Thu, 13 Apr 2023 14:34:49 +0000 (22:34 +0800)
committerVlastimil Babka <vbabka@suse.cz>
Mon, 22 May 2023 13:20:21 +0000 (15:20 +0200)
commit81bd31793fd3be4fec2818e2267997f56ac18fb2
tree4a0cc3ce1786b7b79a67dd0584781b7832ef4e88
parent35973232b5cddd8b03dac2730cd1ca53137d1cd4
slub: Put objects_show() into CONFIG_SLUB_DEBUG enabled block

The SO_ALL|SO_OBJECTS pair is only used when enabling CONFIG_SLUB_DEBUG
option, so the objects_show() definition should be surrounded by
CONFIG_SLUB_DEBUG too.

Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c