diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-07-26 05:16:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-29 04:17:03 -0400 |
commit | ceefda6931806972ecf550bd8231dce4a4178953 (patch) | |
tree | 46ed42a053f1ed43c3c110a21637a7b071657c8a /ipc | |
parent | aed1d84f98738bcc1c605e1ff442de9890441315 (diff) |
switch get_sb_ns() users
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mqueue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 3a61ffefe884..035f4399edbc 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c | |||
@@ -211,13 +211,13 @@ out: | |||
211 | return error; | 211 | return error; |
212 | } | 212 | } |
213 | 213 | ||
214 | static int mqueue_get_sb(struct file_system_type *fs_type, | 214 | static struct dentry *mqueue_mount(struct file_system_type *fs_type, |
215 | int flags, const char *dev_name, | 215 | int flags, const char *dev_name, |
216 | void *data, struct vfsmount *mnt) | 216 | void *data) |
217 | { | 217 | { |
218 | if (!(flags & MS_KERNMOUNT)) | 218 | if (!(flags & MS_KERNMOUNT)) |
219 | data = current->nsproxy->ipc_ns; | 219 | data = current->nsproxy->ipc_ns; |
220 | return get_sb_ns(fs_type, flags, data, mqueue_fill_super, mnt); | 220 | return mount_ns(fs_type, flags, data, mqueue_fill_super); |
221 | } | 221 | } |
222 | 222 | ||
223 | static void init_once(void *foo) | 223 | static void init_once(void *foo) |
@@ -1232,7 +1232,7 @@ static const struct super_operations mqueue_super_ops = { | |||
1232 | 1232 | ||
1233 | static struct file_system_type mqueue_fs_type = { | 1233 | static struct file_system_type mqueue_fs_type = { |
1234 | .name = "mqueue", | 1234 | .name = "mqueue", |
1235 | .get_sb = mqueue_get_sb, | 1235 | .mount = mqueue_mount, |
1236 | .kill_sb = kill_litter_super, | 1236 | .kill_sb = kill_litter_super, |
1237 | }; | 1237 | }; |
1238 | 1238 | ||