NFSv4: It is not safe to dereference lsp->ls_state in release_lockowner
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 19 Mar 2012 20:17:18 +0000 (16:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 20 Mar 2012 17:08:25 +0000 (13:08 -0400)
It is quite possible for the release_lockowner RPC call to race with the
close RPC call, in which case, we cannot dereference lsp->ls_state in
order to find the nfs_server.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found