diff options
author | Weston Andros Adamson <dros@netapp.com> | 2013-09-10 18:44:33 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-09-11 09:08:08 -0400 |
commit | 312cd958a7433feef9c6f3ce6b06471e760e452f (patch) | |
tree | 176e83f6d7a6fe8a2136d085782b71af0e8668b5 /fs/nfs | |
parent | ade33ff58ed3efb4a069f7256f5a92ccf8634413 (diff) |
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 07a8aa9cd7ee..28842abafab4 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -286,8 +286,8 @@ _nfs4_state_protect(struct nfs_client *clp, unsigned long sp4_mode, | |||
286 | msg->rpc_cred = newcred; | 286 | msg->rpc_cred = newcred; |
287 | 287 | ||
288 | flavor = clp->cl_rpcclient->cl_auth->au_flavor; | 288 | flavor = clp->cl_rpcclient->cl_auth->au_flavor; |
289 | WARN_ON(flavor != RPC_AUTH_GSS_KRB5I && | 289 | WARN_ON_ONCE(flavor != RPC_AUTH_GSS_KRB5I && |
290 | flavor != RPC_AUTH_GSS_KRB5P); | 290 | flavor != RPC_AUTH_GSS_KRB5P); |
291 | *clntp = clp->cl_rpcclient; | 291 | *clntp = clp->cl_rpcclient; |
292 | 292 | ||
293 | return true; | 293 | return true; |