commit | 0ceeca5a08abb1d880f0cc0ea812ad14932070e0 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Feb 05 09:34:36 2010 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Mar 03 14:08:00 2010 -0500 |
tree | 35d2d75df6d76139988e93a5506e3e7c57eac807 | |
parent | 8089352a13b785d4e0df63d87bd2b71c76bb9aee [diff] |
hppfs can use existing proc_mnt, no need for do_kern_mount() in there Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 7239efc..2e4dfa8 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c
@@ -718,7 +718,7 @@ 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;