mm/slub: Make object_err() static
authorVlastimil Babka <vbabka@suse.cz>
Tue, 26 Oct 2021 16:22:44 +0000 (18:22 +0200)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 6 Jan 2022 11:25:40 +0000 (12:25 +0100)
commitae16d059f8c9409eba0c412639def0494765b761
tree3dcec6210857d9b8f8d3d71f2a7a8ec54cd29891
parentc798154311e10ddba56a515c8ddce14e592bbe25
mm/slub: Make object_err() static

There are no callers outside of mm/slub.c anymore.

Move freelist_corrupted() that calls object_err() to avoid a need for
forward declaration.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Roman Gushchin <guro@fb.com>
include/linux/slub_def.h
mm/slub.c