aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sunrpc/auth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index 534cdc7be58d..8ef27afeea73 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -30,8 +30,11 @@ struct auth_cred {
30/* 30/*
31 * Client user credentials 31 * Client user credentials
32 */ 32 */
33struct rpc_auth;
34struct rpc_credops;
33struct rpc_cred { 35struct rpc_cred {
34 struct hlist_node cr_hash; /* hash chain */ 36 struct hlist_node cr_hash; /* hash chain */
37 struct rpc_auth * cr_auth;
35 struct rpc_credops * cr_ops; 38 struct rpc_credops * cr_ops;
36 unsigned long cr_expire; /* when to gc */ 39 unsigned long cr_expire; /* when to gc */
37 atomic_t cr_count; /* ref count */ 40 atomic_t cr_count; /* ref count */
@@ -60,6 +63,7 @@ struct rpc_cred_cache {
60 unsigned long expire; /* cache expiry interval */ 63 unsigned long expire; /* cache expiry interval */
61}; 64};
62 65
66struct rpc_authops;
63struct rpc_auth { 67struct rpc_auth {
64 unsigned int au_cslack; /* call cred size estimate */ 68 unsigned int au_cslack; /* call cred size estimate */
65 /* guess at number of u32's auth adds before 69 /* guess at number of u32's auth adds before