git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b4b3a7
)
NLM/lockd: Fix a race when cancelling a blocking lock
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 2 Apr 2008 00:26:22 +0000
(20:26 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:53:49 +0000
(16:53 -0400)
We shouldn't remove the lock from the list of blocked locks until the
CANCEL call has completed since we may be racing with a GRANTED callback.
Also ensure that we send an UNLOCK if the CANCEL request failed. Normally
that should only happen if the process gets hit with a fatal signal.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/clntproc.c
patch
|
blob
|
history
diff --cc
fs/lockd/clntproc.c
Simple merge