nfsd: make client_lock per net
commitc9a4962881929df7f1ef6e63e1b9da304faca4dd
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 26 Nov 2012 12:21:58 +0000 (26 15:21 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 28 Nov 2012 15:13:50 +0000 (28 10:13 -0500)
tree2ab9a198beb2eac07c6d324cedee7d1fb1be42eb
parentec28e02ca5f2a4287c19c585f8be2d9b3ba123ea
nfsd: make client_lock per net

This lock protects the client lru list and session hash table, which are
allocated per network namespace already.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/netns.h
fs/nfsd/nfs4state.c