mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-22 05:16:38 +00:00
NFSv4.1: sp4_mach_cred: WARN_ON -> WARN_ON_ONCE
No need to spam the logs Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
ade33ff58e
commit
312cd958a7
@ -286,8 +286,8 @@ _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode,
|
|||||||
msg->rpc_cred = newcred;
|
msg->rpc_cred = newcred;
|
||||||
|
|
||||||
flavor = clp->cl_rpcclient->cl_auth->au_flavor;
|
flavor = clp->cl_rpcclient->cl_auth->au_flavor;
|
||||||
WARN_ON(flavor != RPC_AUTH_GSS_KRB5I &&
|
WARN_ON_ONCE(flavor != RPC_AUTH_GSS_KRB5I &&
|
||||||
flavor != RPC_AUTH_GSS_KRB5P);
|
flavor != RPC_AUTH_GSS_KRB5P);
|
||||||
*clntp = clp->cl_rpcclient;
|
*clntp = clp->cl_rpcclient;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user