SUNRPC: release per-net clients lock before calling PipeFS dentries creation
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 27 Feb 2012 18:05:29 +0000 (22:05 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 27 Feb 2012 18:36:16 +0000 (13:36 -0500)
commitda3b462296e421e8f54b54b7d2706488661c36e2
tree9e1330dc3ffafa9ae758949f03b592b12a46ed84
parent7df529af5fb4b4064f8cd62629e259ac79c0b4ca
SUNRPC: release per-net clients lock before calling PipeFS dentries creation

v3:
1) Lookup for client is performed from the beginning of the list on each PipeFS
event handling operation.

Lockdep is sad otherwise, because inode mutex is taken on PipeFS dentry
creation, which can be called on mount notification, where this per-net client
lock is taken on clients list walk.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c