diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2021-10-14 19:55:04 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-21 00:09:54 +0200 |
commit | 01dde76e471229e3437a2686c572f4980b2c483e (patch) | |
tree | 93fe61116db7bb7e1c199c289385deee7de1b82e /fs/nfs/nfs4proc.c | |
parent | NFS: Remove --> and <-- dprintk call sites (diff) | |
download | linux-01dde76e471229e3437a2686c572f4980b2c483e.tar.xz linux-01dde76e471229e3437a2686c572f4980b2c483e.zip |
NFS: Create an nfs4_server_set_init_caps() function
And call it before doing an FSINFO probe to reset to the baseline
capabilities before probing.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 979665a91e80..1c485edf1d07 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -3937,6 +3937,8 @@ int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) .interruptible = true, }; int err; + + nfs4_server_set_init_caps(server); do { err = nfs4_handle_exception(server, _nfs4_server_capabilities(server, fhandle), |