diff options
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 46cca9494c7a..2281f6df5573 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h | |||
@@ -29,6 +29,9 @@ | |||
29 | #define CLIENT_HASH_SIZE (1 << CLIENT_HASH_BITS) | 29 | #define CLIENT_HASH_SIZE (1 << CLIENT_HASH_BITS) |
30 | #define CLIENT_HASH_MASK (CLIENT_HASH_SIZE - 1) | 30 | #define CLIENT_HASH_MASK (CLIENT_HASH_SIZE - 1) |
31 | 31 | ||
32 | #define LOCKOWNER_INO_HASH_BITS 8 | ||
33 | #define LOCKOWNER_INO_HASH_SIZE (1 << LOCKOWNER_INO_HASH_BITS) | ||
34 | |||
32 | struct cld_net; | 35 | struct cld_net; |
33 | 36 | ||
34 | struct nfsd_net { | 37 | struct nfsd_net { |
@@ -61,6 +64,7 @@ struct nfsd_net { | |||
61 | struct list_head *unconf_id_hashtbl; | 64 | struct list_head *unconf_id_hashtbl; |
62 | struct rb_root unconf_name_tree; | 65 | struct rb_root unconf_name_tree; |
63 | struct list_head *ownerstr_hashtbl; | 66 | struct list_head *ownerstr_hashtbl; |
67 | struct list_head *lockowner_ino_hashtbl; | ||
64 | }; | 68 | }; |
65 | 69 | ||
66 | extern int nfsd_net_id; | 70 | extern int nfsd_net_id; |