diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-14 16:21:36 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-15 13:40:45 +0100 |
commit | a99454aa4ff1241a19dcb486fa302d3e8cc09e5b (patch) | |
tree | 3aa3904f64c703e66e73fa3ae157711740d328c5 /fs/nfsd/netns.h | |
parent | nfsd: make unconf_id_hashtbl allocated per net (diff) | |
download | linux-a99454aa4ff1241a19dcb486fa302d3e8cc09e5b.tar.xz linux-a99454aa4ff1241a19dcb486fa302d3e8cc09e5b.zip |
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 { * * 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; |