aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-05-12 17:31:45 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-05-25 17:59:59 -0400
commit20284ab7427ffac514faf44fd9eb50e5745f4474 (patch)
tree6babbbfbcb3fea8deef55d2d03088218e1fe591b /fs/proc/root.c
parentlegacy_get_tree(): pass fc->user_ns to mount_capable() (diff)
downloadlinux-dev-20284ab7427ffac514faf44fd9eb50e5745f4474.tar.xz
linux-dev-20284ab7427ffac514faf44fd9eb50e5745f4474.zip
switch mount_capable() to fs_context
now both callers of mount_capable() have access to fs_context; the only difference is that for sget_fc() we have the possibility of fc->global being true, while for legacy_get_tree() it's guaranteed to be impossible. Unify to more generic variant... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions