提交 0ceeca5a 编写于 作者: A Al Viro

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

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 8089352a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册