aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/mqueue.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-29 11:06:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-29 11:06:25 -0400
commit53113b06e48c6c38f7612c1f8043b8a0d2adf72b (patch)
treeb50f098b72b6389fde956d8272c08169ff2b53cc /ipc/mqueue.c
parent37542b6a7e73e81f8c066a48e6911e476ee3b22f (diff)
parenta4cdbd8bfb87ceff455aae85727077889b75001b (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (29 commits) braino in internal.h convert simple cases of nfs-related ->get_sb() to ->mount() convert btrfs convert ceph convert gfs2 convert afs convert ecryptfs convert sysfs convert cgroup and cpuset switch get_sb_ns() users switch procfs to ->mount() setting ->proc_mnt doesn't belong in proc_get_sb() convert cifs convert nilfs switch logfs to ->mount() logfs: fix a leak in get_sb logfs get_sb, part 3 logfs get_sb, part 2 logfs get_sb massage, part 1 convert v9fs ...
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r--ipc/mqueue.c8
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
214static int mqueue_get_sb(struct file_system_type *fs_type, 214static 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
223static void init_once(void *foo) 223static void init_once(void *foo)
@@ -1232,7 +1232,7 @@ static const struct super_operations mqueue_super_ops = {
1232 1232
1233static struct file_system_type mqueue_fs_type = { 1233static 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