commit | ecdbf769b2cb8903e07cd482334c714d89fd1146 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jun 22 17:16:31 2005 +0000 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jun 22 16:07:42 2005 -0400 |
tree | 9d02ce4daee662c2711762564662cebc521e3da3 | |
parent | 4f15e2b1f4f3a56e46201714b39436c32218d547 [diff] |
[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 <Trond.Myklebust@netapp.com>