Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd445277 authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Linus Torvalds
Browse files

[PATCH] nfsd4: operation debugging



Simple, useful debugging printk: print the number of each op as we process it.

Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 796dadfd
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -768,6 +768,8 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
	while (!status && resp->opcnt < args->opcnt) {
	while (!status && resp->opcnt < args->opcnt) {
		op = &args->ops[resp->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;
		 * The XDR decode routines may have pre-set op->status;
		 * for example, if there is a miscellaneous XDR error
		 * for example, if there is a miscellaneous XDR error