diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-02-05 14:34:36 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 19:08:00 (GMT) |
commit | 0ceeca5a08abb1d880f0cc0ea812ad14932070e0 (patch) | |
tree | 35d2d75df6d76139988e93a5506e3e7c57eac807 | |
parent | 8089352a13b785d4e0df63d87bd2b71c76bb9aee (diff) | |
download | linux-0ceeca5a08abb1d880f0cc0ea812ad14932070e0.tar.xz |
hppfs can use existing proc_mnt, no need for do_kern_mount() in there
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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 7239efc..2e4dfa8 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; |