Skip to content

Commit

Permalink
NFSv4.1: Convert a trivial printk into a dprintk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Jun 5, 2012
1 parent 029c534 commit 08106ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 08106ac

Please sign in to comment.