• T
    NFSv4: Fix _nfs4_do_setlk() · 6ea76bf5
    Trond Myklebust 提交于
    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: NKenneth Johansson <ken@kenjo.org>
    Fixes: a3cf9bca ("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: NTrond Myklebust <trond.myklebust@hammerspace.com>
    Reviewed-by: NJeff Layton <jlayton@kernel.org>
    6ea76bf5
nfs4proc.c 259.6 KB