https://github.com/torvalds/linux
Revision 6ea76bf51339506e9fb00d6caebf5d6b42a571e3 authored by Trond Myklebust on 30 July 2018, 02:21:22 UTC, committed by Trond Myklebust on 02 August 2018, 03:17:06 UTC
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>
1 parent 9a97ebf
Raw File
Tip revision: 6ea76bf51339506e9fb00d6caebf5d6b42a571e3 authored by Trond Myklebust on 30 July 2018, 02:21:22 UTC
NFSv4: Fix _nfs4_do_setlk()
Tip revision: 6ea76bf
.gitattributes
*.c   diff=cpp
*.h   diff=cpp
back to top