]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_logprint: don't advance op counter in xlog_print_trans_icreate
authorEric Sandeen <sandeen@sandeen.net>
Mon, 3 Mar 2014 01:22:02 +0000 (12:22 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 3 Mar 2014 01:22:02 +0000 (12:22 +1100)
commit81c4920de663e151aed3fc3a2424d1bf19db39f9
treec8604130d60fc62a439c1f6d5ad09947c801fd45
parenta223e63682bece46eda34fdb9ccb5ec243cd9e2a
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 <dchinner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
logprint/log_misc.c