diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-02 02:26:22 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-19 22:53:49 +0200 |
commit | 5f50c0c6d644d6c8180d9079c13c5d9de3adeb34 (patch) | |
tree | 8cc145c4c3fafc1ea23e0e20929238e6318a44a5 /fs/nfs | |
parent | NLM/lockd: Ensure that nlmclnt_cancel() returns results of the CANCEL call (diff) | |
download | linux-5f50c0c6d644d6c8180d9079c13c5d9de3adeb34.tar.xz linux-5f50c0c6d644d6c8180d9079c13c5d9de3adeb34.zip |
NLM/lockd: Fix a race when cancelling a blocking lock
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>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions