aboutsummaryrefslogtreecommitdiff
path: root/fs/hppfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-02-05 09:34:36 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2010-03-03 14:08:00 -0500
commit0ceeca5a08abb1d880f0cc0ea812ad14932070e0 (patch)
tree35d2d75df6d76139988e93a5506e3e7c57eac807 /fs/hppfs
parent8089352a13b785d4e0df63d87bd2b71c76bb9aee (diff)
downloadlinaro-lsk-0ceeca5a08abb1d880f0cc0ea812ad14932070e0.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c
index 7239efc690d..2e4dfa8593d 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;