diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/auth_generic.c | 2 | ||||
-rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/auth_generic.c b/net/sunrpc/auth_generic.c index f6d84be49050..ed04869b2d4f 100644 --- a/net/sunrpc/auth_generic.c +++ b/net/sunrpc/auth_generic.c | |||
@@ -239,7 +239,7 @@ generic_key_timeout(struct rpc_auth *auth, struct rpc_cred *cred) | |||
239 | if (test_and_clear_bit(RPC_CRED_KEY_EXPIRE_SOON, | 239 | if (test_and_clear_bit(RPC_CRED_KEY_EXPIRE_SOON, |
240 | &acred->ac_flags)) | 240 | &acred->ac_flags)) |
241 | dprintk("RPC: UID %d Credential key reset\n", | 241 | dprintk("RPC: UID %d Credential key reset\n", |
242 | tcred->cr_uid); | 242 | from_kuid(&init_user_ns, tcred->cr_uid)); |
243 | /* set up fasttrack for the normal case */ | 243 | /* set up fasttrack for the normal case */ |
244 | set_bit(RPC_CRED_NOTIFY_TIMEOUT, &acred->ac_flags); | 244 | set_bit(RPC_CRED_NOTIFY_TIMEOUT, &acred->ac_flags); |
245 | } | 245 | } |
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 30eb502135bb..fcac5d141717 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c | |||
@@ -75,7 +75,7 @@ static unsigned int gss_key_expire_timeo = GSS_KEY_EXPIRE_TIMEO; | |||
75 | * using integrity (two 4-byte integers): */ | 75 | * using integrity (two 4-byte integers): */ |
76 | #define GSS_VERF_SLACK 100 | 76 | #define GSS_VERF_SLACK 100 |
77 | 77 | ||
78 | static DEFINE_HASHTABLE(gss_auth_hash_table, 16); | 78 | static DEFINE_HASHTABLE(gss_auth_hash_table, 4); |
79 | static DEFINE_SPINLOCK(gss_auth_hash_lock); | 79 | static DEFINE_SPINLOCK(gss_auth_hash_lock); |
80 | 80 | ||
81 | struct gss_pipe { | 81 | struct gss_pipe { |