2008-05-06 00:11:47

by J. Bruce Fields

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: J. Bruce Fields <[email protected]>
---
fs/nfsd/nfs4proc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

I'm queueing this up for 2.6.27.

--b.

diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index c309c88..3134843 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -952,6 +952,7 @@ encode_op:
out:
nfsd4_release_compoundargs(args);
cstate_free(cstate);
+ dprintk("nfsv4 compound returned %d\n", ntohl(status));
return status;
}

--
1.5.5.rc1