summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-14 18:21:36 +0300
committerJ. Bruce Fields <bfields@redhat.com>2012-11-15 07:40:45 -0500
commita99454aa4ff1241a19dcb486fa302d3e8cc09e5b (patch)
tree3aa3904f64c703e66e73fa3ae157711740d328c5 /fs/nfsd/netns.h
parent0a7ec37727dcc3293cd4c9958b25c43f3a797d47 (diff)
downloadop-kernel-dev-a99454aa4ff1241a19dcb486fa302d3e8cc09e5b.zip
op-kernel-dev-a99454aa4ff1241a19dcb486fa302d3e8cc09e5b.tar.gz
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 1ff781f..1e76030 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -50,12 +50,16 @@ struct nfsd_net {
*
* conf_id_hashtbl[], and conf_name_tree hold confirmed
* setclientid_confirmed info.
+ *
+ * unconf_str_hastbl[] and unconf_name_tree hold unconfirmed
+ * setclientid info.
*/
struct list_head *reclaim_str_hashtbl;
int reclaim_str_hashtbl_size;
struct list_head *conf_id_hashtbl;
struct rb_root conf_name_tree;
struct list_head *unconf_id_hashtbl;
+ struct rb_root unconf_name_tree;
};
extern int nfsd_net_id;
OpenPOWER on IntegriCloud