sysfs: Basic support for multiple super blocks

Add all of the necessary bioler plate to support
multiple superblocks in sysfs.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Eric W. Biederman
2010-03-30 11:31:24 -07:00
committed by Greg Kroah-Hartman
parent c3473c6354
commit 9e7fdd25b2
2 changed files with 59 additions and 2 deletions

View File

@ -114,6 +114,9 @@ struct sysfs_addrm_cxt {
/*
* mount.c
*/
struct sysfs_super_info {
};
#define sysfs_info(SB) ((struct sysfs_super_info *)(SB->s_fs_info))
extern struct sysfs_dirent sysfs_root;
extern struct kmem_cache *sysfs_dir_cachep;