diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-14 10:21:36 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-15 07:40:45 -0500 |
commit | a99454aa4ff1241a19dcb486fa302d3e8cc09e5b (patch) | |
tree | 3aa3904f64c703e66e73fa3ae157711740d328c5 /fs/nfsd/netns.h | |
parent | 0a7ec37727dcc3293cd4c9958b25c43f3a797d47 (diff) |
nfsd: make unconf_name_tree per net
This hash holds nfs4_clients info, which are network namespace aware.
So let's make it allocated 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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index 1ff781f9c3d0..1e76030e1d16 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h | |||
@@ -50,12 +50,16 @@ struct nfsd_net { | |||
50 | * | 50 | * |
51 | * conf_id_hashtbl[], and conf_name_tree hold confirmed | 51 | * conf_id_hashtbl[], and conf_name_tree hold confirmed |
52 | * setclientid_confirmed info. | 52 | * setclientid_confirmed info. |
53 | * | ||
54 | * unconf_str_hastbl[] and unconf_name_tree hold unconfirmed | ||
55 | * setclientid info. | ||
53 | */ | 56 | */ |
54 | struct list_head *reclaim_str_hashtbl; | 57 | struct list_head *reclaim_str_hashtbl; |
55 | int reclaim_str_hashtbl_size; | 58 | int reclaim_str_hashtbl_size; |
56 | struct list_head *conf_id_hashtbl; | 59 | struct list_head *conf_id_hashtbl; |
57 | struct rb_root conf_name_tree; | 60 | struct rb_root conf_name_tree; |
58 | struct list_head *unconf_id_hashtbl; | 61 | struct list_head *unconf_id_hashtbl; |
62 | struct rb_root unconf_name_tree; | ||
59 | }; | 63 | }; |
60 | 64 | ||
61 | extern int nfsd_net_id; | 65 | extern int nfsd_net_id; |