diff options
Diffstat (limited to 'net/sunrpc/auth.c')
| -rw-r--r-- | net/sunrpc/auth.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c index 5285ead196c..f7736671742 100644 --- a/net/sunrpc/auth.c +++ b/net/sunrpc/auth.c @@ -296,7 +296,7 @@ static void  rpcauth_unhash_cred_locked(struct rpc_cred *cred)  {  	hlist_del_rcu(&cred->cr_hash); -	smp_mb__before_clear_bit(); +	smp_mb__before_atomic();  	clear_bit(RPCAUTH_CRED_HASHED, &cred->cr_flags);  } @@ -592,6 +592,7 @@ rpcauth_lookupcred(struct rpc_auth *auth, int flags)  	put_group_info(acred.group_info);  	return ret;  } +EXPORT_SYMBOL_GPL(rpcauth_lookupcred);  void  rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred,  | 
