aboutsummaryrefslogtreecommitdiffstats
path: root/fs/configfs/mount.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /fs/configfs/mount.c
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'fs/configfs/mount.c')
-rw-r--r--fs/configfs/mount.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c
index 8c8d64230c2d..ecc62178beda 100644
--- a/fs/configfs/mount.c
+++ b/fs/configfs/mount.c
@@ -101,19 +101,20 @@ static int configfs_fill_super(struct super_block *sb, void *data, int silent)
101 configfs_root_group.cg_item.ci_dentry = root; 101 configfs_root_group.cg_item.ci_dentry = root;
102 root->d_fsdata = &configfs_root; 102 root->d_fsdata = &configfs_root;
103 sb->s_root = root; 103 sb->s_root = root;
104 sb->s_d_op = &configfs_dentry_ops; /* the rest get that */
104 return 0; 105 return 0;
105} 106}
106 107
107static int configfs_get_sb(struct file_system_type *fs_type, 108static struct dentry *configfs_do_mount(struct file_system_type *fs_type,
108 int flags, const char *dev_name, void *data, struct vfsmount *mnt) 109 int flags, const char *dev_name, void *data)
109{ 110{
110 return get_sb_single(fs_type, flags, data, configfs_fill_super, mnt); 111 return mount_single(fs_type, flags, data, configfs_fill_super);
111} 112}
112 113
113static struct file_system_type configfs_fs_type = { 114static struct file_system_type configfs_fs_type = {
114 .owner = THIS_MODULE, 115 .owner = THIS_MODULE,
115 .name = "configfs", 116 .name = "configfs",
116 .get_sb = configfs_get_sb, 117 .mount = configfs_do_mount,
117 .kill_sb = kill_litter_super, 118 .kill_sb = kill_litter_super,
118}; 119};
119 120