diff options
Diffstat (limited to 'fs/configfs/mount.c')
-rw-r--r-- | fs/configfs/mount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c index f920d30478e5..3e5fe843e1df 100644 --- a/fs/configfs/mount.c +++ b/fs/configfs/mount.c | |||
@@ -103,10 +103,10 @@ static int configfs_fill_super(struct super_block *sb, void *data, int silent) | |||
103 | return 0; | 103 | return 0; |
104 | } | 104 | } |
105 | 105 | ||
106 | static struct super_block *configfs_get_sb(struct file_system_type *fs_type, | 106 | static int configfs_get_sb(struct file_system_type *fs_type, |
107 | int flags, const char *dev_name, void *data) | 107 | int flags, const char *dev_name, void *data, struct vfsmount *mnt) |
108 | { | 108 | { |
109 | return get_sb_single(fs_type, flags, data, configfs_fill_super); | 109 | return get_sb_single(fs_type, flags, data, configfs_fill_super, mnt); |
110 | } | 110 | } |
111 | 111 | ||
112 | static struct file_system_type configfs_fs_type = { | 112 | static struct file_system_type configfs_fs_type = { |
@@ -118,7 +118,7 @@ static struct file_system_type configfs_fs_type = { | |||
118 | 118 | ||
119 | int configfs_pin_fs(void) | 119 | int configfs_pin_fs(void) |
120 | { | 120 | { |
121 | return simple_pin_fs("configfs", &configfs_mount, | 121 | return simple_pin_fs(&configfs_fs_type, &configfs_mount, |
122 | &configfs_mnt_count); | 122 | &configfs_mnt_count); |
123 | } | 123 | } |
124 | 124 | ||