aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/slub_def.h
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2021-10-26 18:22:44 +0200
committerVlastimil Babka <vbabka@suse.cz>2022-01-06 12:25:40 +0100
commitae16d059f8c9409eba0c412639def0494765b761 (patch)
tree3dcec6210857d9b8f8d3d71f2a7a8ec54cd29891 /include/linux/slub_def.h
parentmm/slab: Dissolve slab_map_pages() in its caller (diff)
downloadlinux-dev-ae16d059f8c9409eba0c412639def0494765b761.tar.xz
linux-dev-ae16d059f8c9409eba0c412639def0494765b761.zip
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 '')
-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,