mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
new helper: get_tree_keyed()
For vfs_get_keyed_super users. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1386,8 +1386,7 @@ static int nfsd_fill_super(struct super_block *sb, struct fs_context *fc)
|
||||
|
||||
static int nfsd_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, nfsd_fill_super);
|
||||
return get_tree_keyed(fc, nfsd_fill_super, get_net(fc->net_ns));
|
||||
}
|
||||
|
||||
static void nfsd_fs_free_fc(struct fs_context *fc)
|
||||
|
Reference in New Issue
Block a user