]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NLM: don't requeue block if it was invalidated while GRANT_MSG was in flight
authorJeff Layton <jlayton@redhat.com>
Wed, 6 Feb 2008 16:34:13 +0000 (11:34 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 10 Feb 2008 23:09:36 +0000 (18:09 -0500)
commitc64e80d55db81df22a7f25b75ab4ba4c55db4749
treebc844c9fbc4a19887b108d457f0d8fdc651630e2
parent9706501e43a80ce48b319214a0a9e562deded35b
NLM: don't requeue block if it was invalidated while GRANT_MSG was in flight

It's possible for lockd to catch a SIGKILL while a GRANT_MSG callback
is in flight. If this happens we don't want lockd to insert the block
back into the nlm_blocked list.

This helps that situation, but there's still a possible race. Fixing
that will mean adding real locking for nlm_blocked.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/svclock.c