summaryrefslogtreecommitdiff
path: root/include/linux/slub_def.h
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2021-10-26 19:22:44 +0300
committerVlastimil Babka <vbabka@suse.cz>2022-01-06 14:25:40 +0300
commitae16d059f8c9409eba0c412639def0494765b761 (patch)
tree3dcec6210857d9b8f8d3d71f2a7a8ec54cd29891 /include/linux/slub_def.h
parentc798154311e10ddba56a515c8ddce14e592bbe25 (diff)
downloadlinux-ae16d059f8c9409eba0c412639def0494765b761.tar.xz
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>
Diffstat (limited to 'include/linux/slub_def.h')
-rw-r--r--include/linux/slub_def.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h
index 0fa751b946fa..1ef68d4de9c0 100644
--- a/include/linux/slub_def.h
+++ b/include/linux/slub_def.h
@@ -156,9 +156,6 @@ static inline void sysfs_slab_release(struct kmem_cache *s)
}
#endif
-void object_err(struct kmem_cache *s, struct page *page,
- u8 *object, char *reason);
-
void *fixup_red_left(struct kmem_cache *s, void *p);
static inline void *nearest_obj(struct kmem_cache *cache, struct page *page,