aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-12-10 07:30:51 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-01-15 10:15:16 -0500
commit7643c12e955740ac08abcd159f4205cf0c3eef4e (patch)
tree662091e68e00e64902670f635c3275f4c2ca54a2 /fs/nfs/super.c
parentnfs: stash server into struct nfs_mount_info (diff)
downloadwireguard-linux-7643c12e955740ac08abcd159f4205cf0c3eef4e.tar.xz
wireguard-linux-7643c12e955740ac08abcd159f4205cf0c3eef4e.zip
nfs: lift setting mount_info from nfs4_remote{,_referral}_mount
Do that (fhandle allocation, setting struct server up) in nfs4_referral_mount() and nfs4_try_mount() resp. and pass the server and pointer to mount_info into nfs_do_root_mount() so that nfs4_remote_referral_mount()/nfs_remote_mount() could be merged. Since we are moving stuff from ->mount() instances to the points prior to vfs_kern_mount() that would trigger those, we need to make sure that do_nfs_root_mount() will do the corresponding cleanup itself if it doesn't trigger those ->mount() instances. Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions