]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a262c4a9c6e28403aa6d980f42a0af914670322
tree6babbbfbcb3fea8deef55d2d03088218e1fe591b
parentd665d0577114d97a3c5a030cd00f96e895c3eaae
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