aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/fs_struct.h2
-rw-r--r--include/linux/slab.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs_struct.h b/include/linux/fs_struct.h
index c623d12a486e..11a36ceddf73 100644
--- a/include/linux/fs_struct.h
+++ b/include/linux/fs_struct.h
@@ -18,6 +18,8 @@ struct fs_struct {
.umask = 0022, \
}
+extern struct kmem_cache *fs_cachep;
+
extern void exit_fs(struct task_struct *);
extern void set_fs_altroot(void);
extern void set_fs_root(struct fs_struct *, struct vfsmount *, struct dentry *);
diff --git a/include/linux/slab.h b/include/linux/slab.h
index f9202d60d769..bfc063ee94e8 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -310,7 +310,6 @@ static inline void *kcalloc(size_t n, size_t size, gfp_t flags)
/* System wide caches */
extern kmem_cache_t *names_cachep;
-extern kmem_cache_t *fs_cachep;
#endif /* __KERNEL__ */