dect
/
linux-2.6
Archived
13
0
Fork 0

hppfs can use existing proc_mnt, no need for do_kern_mount() in there

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2010-02-05 09:34:36 -05:00
parent 8089352a13
commit 0ceeca5a08
1 changed files with 1 additions and 1 deletions

View File

@ -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;