]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/sunrpc/auth.h
SUNRPC: Store the hashtable size in struct rpc_cred_cache
[net-next-2.6.git] / include / linux / sunrpc / auth.h
index 784e78c73ec519817f92b4d7b68298e3d3ad954b..84d64b6926a9cdf1abe86899c288054f95361349 100644 (file)
@@ -65,6 +65,7 @@ struct rpc_cred {
 #define RPC_CREDCACHE_NR       (1 << RPC_CREDCACHE_HASHBITS)
 struct rpc_cred_cache {
        struct hlist_head       hashtable[RPC_CREDCACHE_NR];
+       unsigned int            hashbits;
        spinlock_t              lock;
 };