]> git.karo-electronics.de Git - linux-beck.git/commitdiff
NFSv4.1: Convert a trivial printk into a dprintk
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Jun 2012 14:08:24 +0000 (10:08 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Jun 2012 14:08:24 +0000 (10:08 -0400)
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>
fs/nfs/nfs4proc.c

index ad1515521a6abc2369fd48b54211a889ee9faaec..7c218fd1ec21fb613a575682505dc3f98eb8e0db 100644 (file)
@@ -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");