]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix NFS locking bug
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Thu, 18 Jul 2002 03:44:41 +0000 (20:44 -0700)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Thu, 18 Jul 2002 03:44:41 +0000 (20:44 -0700)
commitdf458c0092f7dcaa082592533cc6661b1a31737f
treecdc1bdee99d521395055f737a1470cc86c390fac
parent0d84f0acc5c914fbd249b2611711517f5c001a0c
[PATCH] Fix NFS locking bug

Here's one bugfix which might help to explain the GRANTED failure. The
bug has been there all along (so I'll probably want to send this to
Marcelo too).

The code in question in supposed to ensure that we don't wait on a
reply if the RPC call doesn't expect one. However, if the socket
transmission failed for some reason, we do actually want to loop and
try again...

This bug will hit the RPC call in nlmsvc_grant_blocked().
net/sunrpc/clnt.c