Skip to contentSkip to conversation

nfsd: add dprintk of compound return

PATCH New J. Bruce Fields 1 participant 1 message May 6, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsd: add dprintk of compound return

From: J. Bruce Fields <[email protected]>

We already print each operation of the compound when debugging is turned on; printing the result could also help with remote debugging.

---
 fs/nfsd/nfs4proc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

I'm queueing this up for 2.6.27.

--b.

fs/nfsd/nfs4proc.c +1 -0
index c309c88..3134843 100644
@@ -952,6 +952,7 @@ encode_op:
 out:
 	nfsd4_release_compoundargs(args);
 	cstate_free(cstate);
+	dprintk("nfsv4 compound returned %d\n", ntohl(status));
 	return status;
 }
 
Signature · 1 line
1.5.5.rc1