summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-11-28 14:54:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-29 18:16:08 -0800
commitfa736a951e456b996a76826ba78ff974414c3b55 (patch)
tree2ba6b9289163b684e41f5efb95c92144b12e2c86 /fs/sysfs/sysfs.h
parent4b93dc9b1c684d0587fe44d36bbfdf45bd3bea9d (diff)
downloadlinux-stable-fa736a951e456b996a76826ba78ff974414c3b55.tar.gz
linux-stable-fa736a951e456b996a76826ba78ff974414c3b55.tar.bz2
linux-stable-fa736a951e456b996a76826ba78ff974414c3b55.zip
sysfs, kernfs: move mount core code to fs/kernfs/mount.c
Move core mount code to fs/kernfs/mount.c. The respective declarations in fs/sysfs/sysfs.h are moved to fs/kernfs/kernfs-internal.h. This is pure relocation. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r--fs/sysfs/sysfs.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h
index 93b4b68458ad..6a82311a50fe 100644
--- a/fs/sysfs/sysfs.h
+++ b/fs/sysfs/sysfs.h
@@ -17,25 +17,7 @@
/*
* mount.c
*/
-
-struct sysfs_super_info {
- /*
- * The root associated with this super_block. Each super_block is
- * identified by the root and ns it's associated with.
- */
- struct kernfs_root *root;
-
- /*
- * Each sb is associated with one namespace tag, currently the network
- * namespace of the task which mounted this sysfs instance. If multiple
- * tags become necessary, make the following an array and compare
- * sysfs_dirent tag against every entry.
- */
- const void *ns;
-};
-#define sysfs_info(SB) ((struct sysfs_super_info *)(SB->s_fs_info))
extern struct sysfs_dirent *sysfs_root_sd;
-extern struct kmem_cache *sysfs_dir_cachep;
/*
* dir.c