Skip to content

Commit 31f1a96

Browse files
author
Trond Myklebust
committed
NFSv4: Don't clear capabilities that won't be reset
Don't clear the capabilities that are not going to get reset by the call to _nfs4_server_capabilities(). Reported-by: Scott Haiden <scott.b.haiden@gmail.com> Fixes: b01f21c ("NFS: Fix the setting of capabilities when automounting a new filesystem") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
1 parent 1b237f1 commit 31f1a96

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

fs/nfs/nfs4proc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4092,7 +4092,6 @@ int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle)
40924092
};
40934093
int err;
40944094

4095-
nfs_server_set_init_caps(server);
40964095
do {
40974096
err = nfs4_handle_exception(server,
40984097
_nfs4_server_capabilities(server, fhandle),

0 commit comments

Comments
 (0)