projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ade33ff
)
NFSv4.1: sp4_mach_cred: WARN_ON -> WARN_ON_ONCE
author
Weston Andros Adamson
<dros@netapp.com>
Tue, 10 Sep 2013 22:44:33 +0000
(18:44 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 11 Sep 2013 13:08:08 +0000
(09:08 -0400)
No need to spam the logs
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4_fs.h
b/fs/nfs/nfs4_fs.h
index
07a8aa9
..
28842ab
100644
(file)
--- 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,
msg->rpc_cred = newcred;
flavor = clp->cl_rpcclient->cl_auth->au_flavor;
- WARN_ON(flavor != RPC_AUTH_GSS_KRB5I &&
- flavor != RPC_AUTH_GSS_KRB5P);
+ WARN_ON
_ONCE
(flavor != RPC_AUTH_GSS_KRB5I &&
+
flavor != RPC_AUTH_GSS_KRB5P);
*clntp = clp->cl_rpcclient;
return true;