From 81c4920de663e151aed3fc3a2424d1bf19db39f9 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Mon, 3 Mar 2014 12:22:02 +1100 Subject: [PATCH] xfs_logprint: don't advance op counter in xlog_print_trans_icreate xlog_print_trans_icreate is advancing the op counter "(*i)++" incorrectly; it only contains one region, and the loop which called it will properly advance the op once we're done. Found-by: Dave Chinner Signed-off-by: Eric Sandeen Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- logprint/log_misc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/logprint/log_misc.c b/logprint/log_misc.c index 7070fa356..52f1e85c3 100644 --- a/logprint/log_misc.c +++ b/logprint/log_misc.c @@ -810,7 +810,6 @@ xlog_print_trans_icreate( memmove(&icl_buf, *ptr, MIN(sizeof(struct xfs_icreate_log), len)); icl = &icl_buf; - (*i)++; *ptr += len; /* handle complete header only */ -- 2.47.2