diff options
author | Trond Myklebust | 2018-07-29 22:21:22 -0400 |
---|---|---|
committer | Trond Myklebust | 2018-08-01 23:17:06 -0400 |
commit | 6ea76bf51339506e9fb00d6caebf5d6b42a571e3 (patch) | |
tree | aad2ba8b9d40075cc43d3c9ac0a272a2ec969af6 /fs/ecryptfs | |
parent | 9a97ebf7a6bbfc1e420d53f5281f5f44df1e510d (diff) |
NFSv4: Fix _nfs4_do_setlk()
The patch to fix the case where a lock request was interrupted ended up
changing default handling of errors such as NFS4ERR_DENIED and caused the
client to immediately resend the lock request. Let's do a partial revert
of that request so that the default is now to exit, but change the way
we handle resends to take into account the fact that the user may have
interrupted the request.
Reported-by: Kenneth Johansson <ken@kenjo.org>
Fixes: a3cf9bca2ace ("NFSv4: Don't add a new lock on an interrupted wait..")
Cc: Benjamin Coddington <bcodding@redhat.com>
Cc: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions