summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-06-05 10:08:24 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-06-05 10:08:24 -0400
commit08106ac7c892cad769c5026cb9dd877a39aed603 (patch)
tree03d26412d855d3fb0b68795f9c1e967aea9751db
parent029c53473727f21c1dd73237e8d630a6f007a2fe (diff)
downloadop-kernel-dev-08106ac7c892cad769c5026cb9dd877a39aed603.zip
op-kernel-dev-08106ac7c892cad769c5026cb9dd877a39aed603.tar.gz
NFSv4.1: Convert a trivial printk into a dprintk
There is no need to bug the user about the server returning an error on destroy_session. The error will be handled by the state manager, without any need for further input from anyone else. So convert that printk into a debugging dprintk. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--fs/nfs/nfs4proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index ad15155..7c218fd 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -5766,8 +5766,7 @@ int nfs4_proc_destroy_session(struct nfs4_session *session,
status = rpc_call_sync(session->clp->cl_rpcclient, &msg, RPC_TASK_TIMEOUT);
if (status)
- printk(KERN_WARNING
- "NFS: Got error %d from the server on DESTROY_SESSION. "
+ dprintk("NFS: Got error %d from the server on DESTROY_SESSION. "
"Session has been destroyed regardless...\n", status);
dprintk("<-- nfs4_proc_destroy_session\n");
OpenPOWER on IntegriCloud