]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/sunrpc/auth.h
SUNRPC: Make the credential cache hashtable size configurable
[mv-sheeva.git] / include / linux / sunrpc / auth.h
index 784e78c73ec519817f92b4d7b68298e3d3ad954b..d2737625a24711db6c17db0fb88d295e6e25f156 100644 (file)
@@ -61,13 +61,7 @@ struct rpc_cred {
 /*
  * Client authentication handle
  */
-#define RPC_CREDCACHE_HASHBITS 4
-#define RPC_CREDCACHE_NR       (1 << RPC_CREDCACHE_HASHBITS)
-struct rpc_cred_cache {
-       struct hlist_head       hashtable[RPC_CREDCACHE_NR];
-       spinlock_t              lock;
-};
-
+struct rpc_cred_cache;
 struct rpc_authops;
 struct rpc_auth {
        unsigned int            au_cslack;      /* call cred size estimate */