From: Trond Myklebust Date: Wed, 2 Apr 2008 00:26:22 +0000 (-0400) Subject: NLM/lockd: Fix a race when cancelling a blocking lock X-Git-Tag: v2.6.26-rc1~1082^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f50c0c6d644d6c8180d9079c13c5d9de3adeb34;p=pandora-kernel.git 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 --- Reading git-diff-tree failed