From: Trond Myklebust Date: Wed, 22 Jun 2005 17:16:31 +0000 (+0000) Subject: [PATCH] NLM: fix a client-side race on blocking locks. X-Git-Tag: v2.6.13-rc1~68^2~537^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecdbf769b2cb8903e07cd482334c714d89fd1146;p=pandora-kernel.git [PATCH] NLM: fix a client-side race on blocking locks. If the lock blocks, the server may send us a GRANTED message that races with the reply to our LOCK request. Make sure that we catch the GRANTED by queueing up our request on the nlm_blocked list before we send off the first LOCK rpc call. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed