summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.osdl.org>2004-02-09 00:26:00 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-09 00:26:00 -0800
commitfa36f31ad068e0498c61a1454598be8d8333ee05 (patch)
treec9b2d78462b15db656d5f89f5243346b26227d9b /include/linux
parentd9efde4dda528c08db2e64f1624ca13d91910fdd (diff)
Clean up dentry pointer validation by moving it into
a function of its own. This also allows us to do a better job, since slab.c can now do more proper tests.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/slab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h
index d797c981f37e..69be5b308a11 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -101,6 +101,7 @@ extern void kfree(const void *);
extern unsigned int ksize(const void *);
extern int FASTCALL(kmem_cache_reap(int));
+extern int FASTCALL(kmem_ptr_validate(kmem_cache_t *cachep, void *ptr));
/* System wide caches */
extern kmem_cache_t *vm_area_cachep;