diff options
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/auth.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index 4e78f0c5f014..5974e8a493c4 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | #include <linux/sunrpc/xdr.h> | 16 | #include <linux/sunrpc/xdr.h> |
| 17 | 17 | ||
| 18 | #include <asm/atomic.h> | 18 | #include <asm/atomic.h> |
| 19 | #include <linux/rcupdate.h> | ||
| 19 | 20 | ||
| 20 | /* size of the nodename buffer */ | 21 | /* size of the nodename buffer */ |
| 21 | #define UNX_MAXNODENAME 32 | 22 | #define UNX_MAXNODENAME 32 |
| @@ -35,6 +36,7 @@ struct rpc_credops; | |||
| 35 | struct rpc_cred { | 36 | struct rpc_cred { |
| 36 | struct hlist_node cr_hash; /* hash chain */ | 37 | struct hlist_node cr_hash; /* hash chain */ |
| 37 | struct list_head cr_lru; /* lru garbage collection */ | 38 | struct list_head cr_lru; /* lru garbage collection */ |
| 39 | struct rcu_head cr_rcu; | ||
| 38 | struct rpc_auth * cr_auth; | 40 | struct rpc_auth * cr_auth; |
| 39 | const struct rpc_credops *cr_ops; | 41 | const struct rpc_credops *cr_ops; |
| 40 | #ifdef RPC_DEBUG | 42 | #ifdef RPC_DEBUG |
| @@ -50,6 +52,7 @@ struct rpc_cred { | |||
| 50 | }; | 52 | }; |
| 51 | #define RPCAUTH_CRED_NEW 0 | 53 | #define RPCAUTH_CRED_NEW 0 |
| 52 | #define RPCAUTH_CRED_UPTODATE 1 | 54 | #define RPCAUTH_CRED_UPTODATE 1 |
| 55 | #define RPCAUTH_CRED_HASHED 2 | ||
| 53 | 56 | ||
| 54 | #define RPCAUTH_CRED_MAGIC 0x0f4aa4f0 | 57 | #define RPCAUTH_CRED_MAGIC 0x0f4aa4f0 |
| 55 | 58 | ||
