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 <email@example.com> Reviewed-by: Djalal Harouni <firstname.lastname@example.org> Signed-off-by: "Eric W. Biederman" <email@example.com>
Showing with 13 additions and 51 deletions