From: J. Bruce Fields Date: Thu, 19 Jan 2006 01:43:23 +0000 (-0800) Subject: [PATCH] nfsd4: operation debugging X-Git-Tag: MMI-PSA29.97-13-9~52657 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd44527707f2697fd2959e8bdb321ae588d150e2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] nfsd4: operation debugging Simple, useful debugging printk: print the number of each op as we process it. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 361b4007d4a0..2a1766ce216f 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -768,6 +768,8 @@ nfsd4_proc_compound(struct svc_rqst *rqstp, while (!status && resp->opcnt < args->opcnt) { op = &args->ops[resp->opcnt++]; + dprintk("nfsv4 compound op #%d: %d\n", resp->opcnt, op->opnum); + /* * The XDR decode routines may have pre-set op->status; * for example, if there is a miscellaneous XDR error