aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-14 10:21:26 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-11-15 07:40:44 -0500
commit382a62e76cbf91fb364a4cd8732761e4ecf62153 (patch)
treece6a72d2f464712352ba34324930baec9e6e896c /fs/nfsd/netns.h
parent8daae4dc0d09d44d38194f72bc91740b46a6ce53 (diff)
nfsd: make conf_name_tree per net
This tree holds nfs4_clients info, which are network namespace aware. So let's make it per network namespace. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r--fs/nfsd/netns.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 0cc85e95e8a4..afd911638464 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -47,10 +47,14 @@ struct nfsd_net {
47 /* 47 /*
48 * reclaim_str_hashtbl[] holds known client info from previous reset/reboot 48 * reclaim_str_hashtbl[] holds known client info from previous reset/reboot
49 * used in reboot/reset lease grace period processing 49 * used in reboot/reset lease grace period processing
50 *
51 * conf_id_hashtbl[], and conf_name_tree hold confirmed
52 * setclientid_confirmed info.
50 */ 53 */
51 struct list_head *reclaim_str_hashtbl; 54 struct list_head *reclaim_str_hashtbl;
52 int reclaim_str_hashtbl_size; 55 int reclaim_str_hashtbl_size;
53 struct list_head *conf_id_hashtbl; 56 struct list_head *conf_id_hashtbl;
57 struct rb_root conf_name_tree;
54}; 58};
55 59
56extern int nfsd_net_id; 60extern int nfsd_net_id;