NFS: Replace calls to nfs_probe_fsinfo() with nfs_probe_server()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 14 Oct 2021 17:55:06 +0000 (13:55 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 20 Oct 2021 22:09:54 +0000 (18:09 -0400)
commit4d4cf8d2d6ccb43c68bc5925dc83500b81b50f9e
tree67939b8d787fb2328ccb46009f383f0fb4ac9b22
parente5731131fb6fefaa69064ca511b7c4971d6cf54f
NFS: Replace calls to nfs_probe_fsinfo() with nfs_probe_server()

Clean up. There are a few places where we want to probe the server, but
don't actually care about the fsinfo result. Change these to use
nfs_probe_server(), which handles the fattr allocation for us.

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