diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-02-05 15:34:36 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 20:08:00 +0100 |
commit | 0ceeca5a08abb1d880f0cc0ea812ad14932070e0 (patch) | |
tree | 35d2d75df6d76139988e93a5506e3e7c57eac807 /fs/hppfs | |
parent | Mirror MS_KERNMOUNT in ->mnt_flags (diff) | |
download | linux-0ceeca5a08abb1d880f0cc0ea812ad14932070e0.tar.xz linux-0ceeca5a08abb1d880f0cc0ea812ad14932070e0.zip |
hppfs can use existing proc_mnt, no need for do_kern_mount() in there
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hppfs')
-rw-r--r-- | fs/hppfs/hppfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 7239efc690d8..2e4dfa8593da 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c @@ -718,7 +718,7 @@ static int hppfs_fill_super(struct super_block *sb, void *d, int silent) struct vfsmount *proc_mnt; int err = -ENOENT; - proc_mnt = do_kern_mount("proc", 0, "proc", NULL); + proc_mnt = mntget(current->nsproxy->pid_ns->proc_mnt); if (IS_ERR(proc_mnt)) goto out; |