NFS: make cb_ident_idr per net ns
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 23 Jan 2012 17:26:22 +0000 (17:26 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 6 Feb 2012 23:48:03 +0000 (18:48 -0500)
commit28cd1b3f262dba56b5e335ba668e342d530f6129
tree7ae24e43fe054042800118edb266287125ba34f8
parentc25d32b26361ce0814fef2281f164866c18c8692
NFS: make cb_ident_idr per net ns

This patch makes ID's infrastructure network namespace aware. This was done
mainly because of nfs_client_lock, which is desired to be per network
namespace, but protects NFS clients ID's.

NOTE: NFS client's net pointer have to be set prior to ID initialization,
proper assignment was moved.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback_xdr.c
fs/nfs/client.c
fs/nfs/inode.c
fs/nfs/internal.h
fs/nfs/netns.h