diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-18 23:15:58 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-18 23:15:58 +0300 |
commit | e170eb27715fc9253ae031297d0638a3ef51b5da (patch) | |
tree | 3ae951bf6e1b759f91469a0a71ee0f59651bcc29 /net | |
parent | b30d87cf969e1711f1f621b6b61efb145ee6c6d9 (diff) | |
parent | 0f071004109d9c8de7023b9a64fa2ba3fa87cbed (diff) | |
download | linux-e170eb27715fc9253ae031297d0638a3ef51b5da.tar.xz |
Merge branch 'work.mount-base' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs mount API infrastructure updates from Al Viro:
"Infrastructure bits of mount API conversions.
The rest is more of per-filesystem updates and that will happen
in separate pull requests"
* 'work.mount-base' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
mtd: Provide fs_context-aware mount_mtd() replacement
vfs: Create fs_context-aware mount_bdev() replacement
new helper: get_tree_keyed()
vfs: set fs_context::user_ns for reconfigure
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 748bac601e47..b71a39ded930 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -1416,8 +1416,7 @@ EXPORT_SYMBOL_GPL(gssd_running); static int rpc_fs_get_tree(struct fs_context *fc) { - fc->s_fs_info = get_net(fc->net_ns); - return vfs_get_super(fc, vfs_get_keyed_super, rpc_fill_super); + return get_tree_keyed(fc, rpc_fill_super, get_net(fc->net_ns)); } static void rpc_fs_free_fc(struct fs_context *fc) |