nfsd: make reclaim_str_hashtbl allocated per net
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Wed, 14 Nov 2012 15:21:16 +0000 (18:21 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 15 Nov 2012 12:40:43 +0000 (07:40 -0500)
commit52e19c09a183d82d99f10c284bc8b27933b1d1fc
tree7a4f21eecd888cea675d7ccddddfd03774337af4
parentc212cecfa21b3d30cd5cc2389754a46973ad9027
nfsd: make reclaim_str_hashtbl allocated per net

This hash holds nfs4_clients info, which are network namespace aware.
So let's make it allocated per network namespace.

Note: this hash is used only by legacy tracker. So let's allocate hash in
tracker init.

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