switch mount_capable() to fs_context
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 May 2019 21:31:45 +0000 (17:31 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 25 May 2019 21:59:59 +0000 (17:59 -0400)
commit20284ab7427ffac514faf44fd9eb50e5745f4474
tree6babbbfbcb3fea8deef55d2d03088218e1fe591b
parentfd912087f4a897cfdf8274f8085c501742638be2
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>
fs/fs_context.c
fs/internal.h
fs/super.c