commit | 5f50c0c6d644d6c8180d9079c13c5d9de3adeb34 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Apr 01 20:26:22 2008 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Apr 19 16:53:49 2008 -0400 |
tree | 8cc145c4c3fafc1ea23e0e20929238e6318a44a5 | |
parent | 6b4b3a752b3464f2fd9fe2837fb19270c23c1d6b [diff] |
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>