NFS: Move nfs_probe_destination() into the generic client
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 14 Oct 2021 17:55:05 +0000 (13:55 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Oct 2021 22:09:54 +0000 (18:09 -0400)
commite5731131fb6fefaa69064ca511b7c4971d6cf54f
tree0bf83f6d8fea2aecab642e75633f9903f6b6756c
parent01dde76e471229e3437a2686c572f4980b2c483e
NFS: Move nfs_probe_destination() into the generic client

And rename it to nfs_probe_server(). I also change it to take the nfs_fh
as an argument so callers can choose what filehandle to probe.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/client.c
fs/nfs/internal.h
fs/nfs/nfs4client.c