diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/auth.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index d5bfc67461fc..8586503d5ebd 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
@@ -36,19 +36,19 @@ struct rpc_cred { | |||
36 | struct hlist_node cr_hash; /* hash chain */ | 36 | struct hlist_node cr_hash; /* hash chain */ |
37 | struct rpc_auth * cr_auth; | 37 | struct rpc_auth * cr_auth; |
38 | const struct rpc_credops *cr_ops; | 38 | const struct rpc_credops *cr_ops; |
39 | unsigned long cr_expire; /* when to gc */ | ||
40 | atomic_t cr_count; /* ref count */ | ||
41 | unsigned short cr_flags; /* various flags */ | ||
42 | #ifdef RPC_DEBUG | 39 | #ifdef RPC_DEBUG |
43 | unsigned long cr_magic; /* 0x0f4aa4f0 */ | 40 | unsigned long cr_magic; /* 0x0f4aa4f0 */ |
44 | #endif | 41 | #endif |
42 | unsigned long cr_expire; /* when to gc */ | ||
43 | unsigned long cr_flags; /* various flags */ | ||
44 | atomic_t cr_count; /* ref count */ | ||
45 | 45 | ||
46 | uid_t cr_uid; | 46 | uid_t cr_uid; |
47 | 47 | ||
48 | /* per-flavor data */ | 48 | /* per-flavor data */ |
49 | }; | 49 | }; |
50 | #define RPCAUTH_CRED_NEW 0x0001 | 50 | #define RPCAUTH_CRED_NEW 0 |
51 | #define RPCAUTH_CRED_UPTODATE 0x0002 | 51 | #define RPCAUTH_CRED_UPTODATE 1 |
52 | 52 | ||
53 | #define RPCAUTH_CRED_MAGIC 0x0f4aa4f0 | 53 | #define RPCAUTH_CRED_MAGIC 0x0f4aa4f0 |
54 | 54 | ||