nfs: lift setting mount_info from nfs_xdev_mount()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Dec 2019 12:30:55 +0000 (07:30 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:15:16 +0000 (10:15 -0500)
commit250d69f6a465e36a6ab8602030267de2586e028f
tree8edaae969ee3936dee2cc262ded26112dd08b320
parent4e357761bd44bbba3c3af226c2cc216beff0935c
nfs: lift setting mount_info from nfs_xdev_mount()

Do it in nfs_do_submount() instead.  As a side benefit, nfs_clone_data
doesn't need ->fh and ->fattr anymore.

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>
fs/nfs/internal.h
fs/nfs/namespace.c
fs/nfs/super.c