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>
memmove(&icl_buf, *ptr, MIN(sizeof(struct xfs_icreate_log), len));
icl = &icl_buf;
- (*i)++;
*ptr += len;
/* handle complete header only */