Skip to content

Commit

Permalink
[PATCH] nfsd4: operation debugging
Browse files Browse the repository at this point in the history
Simple, useful debugging printk: print the number of each op as we process it.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
J. Bruce Fields authored and Linus Torvalds committed Jan 19, 2006
1 parent 796dadf commit fd44527
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/nfsd/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd44527

Please sign in to comment.