diff options
Diffstat (limited to 'sys/gnu/fs/xfs/xfs_log.c')
-rw-r--r-- | sys/gnu/fs/xfs/xfs_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/fs/xfs/xfs_log.c b/sys/gnu/fs/xfs/xfs_log.c index 27d7b349d524..46c0d3dede30 100644 --- a/sys/gnu/fs/xfs/xfs_log.c +++ b/sys/gnu/fs/xfs/xfs_log.c @@ -1754,11 +1754,11 @@ xlog_write(xfs_mount_t * mp, xlog_t *log = mp->m_log; xlog_ticket_t *ticket = (xlog_ticket_t *)tic; xlog_op_header_t *logop_head; /* ptr to log operation header */ - xlog_in_core_t *iclog; /* ptr to current in-core log */ + xlog_in_core_t *iclog = NULL; /* ptr to current in-core log */ __psint_t ptr; /* copy address into data region */ int len; /* # xlog_write() bytes 2 still copy */ int index; /* region index currently copying */ - int log_offset; /* offset (from 0) into data region */ + int log_offset = 0; /* offset (from 0) into data region */ int start_rec_copy; /* # bytes to copy for start record */ int partial_copy; /* did we split a region? */ int partial_copy_len;/* # bytes copied if split region */ |