OSDN Git Service

procfs: set ->user_ns before calling ->get_tree()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 May 2019 22:10:24 +0000 (18:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 25 May 2019 22:00:00 +0000 (18:00 -0400)
commit46cf047a945c7a53cb2dc9353a87a9a4e3e778cd
treef7dcda6f043952e36cbd62c9b57ed4d34cf8d5b5
parent709a643da8b8c5fc823e1870d8227ca0eeb51311
procfs: set ->user_ns before calling ->get_tree()

here it's even simpler than in mqueue - pid_ns_prepare_proc()
does everything needed anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/root.c