]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
proc: Convert proc_mount to use mount_ns.
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 9 Jun 2016 20:32:10 +0000 (15:32 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 23 Jun 2016 20:41:54 +0000 (15:41 -0500)
commite94591d0d90c13166cb6eb54ce5f96ed13d81b55
treea52df89fe96d5ed24657c3fed1552ffc1d474b3a
parentd91ee87d8d85a0808c01787e8b4a6b48f2ba487b
proc: Convert proc_mount to use mount_ns.

Move the call of get_pid_ns, the call of proc_parse_options, and
the setting of s_iflags into proc_fill_super so that mount_ns
can be used.

Convert proc_mount to call mount_ns and remove the now unnecessary
code.

Acked-by: Seth Forshee <seth.forshee@canonical.com>
Reviewed-by: Djalal Harouni <tixxdz@gmail.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/proc/inode.c
fs/proc/internal.h
fs/proc/root.c