]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: release per-net clients lock before calling PipeFS dentries creation
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 27 Feb 2012 18:05:37 +0000 (22:05 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 27 Feb 2012 18:36:35 +0000 (13:36 -0500)
commitf39ef692567966cac1156bdb9611e48484e49571
treebb77ebab17bc03f7e534df359474685bc87ff09d
parent5d62777bf6e838582194a25f38a9d0ea80d11c7d
NFS: 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>
fs/nfs/idmap.c