xfs: fix the xfs_log_iovec i_addr type
[linux-block.git] / fs / xfs / xfs_log_cil.c
index 5eaeede942b5af0fcdec78945a48b26e0df46a79..31e4ea2d19acfc08f069813dffa367e6b2420973 100644 (file)
@@ -552,7 +552,7 @@ xlog_cil_push(
        thdr.th_type = XFS_TRANS_CHECKPOINT;
        thdr.th_tid = tic->t_tid;
        thdr.th_num_items = num_iovecs;
-       lhdr.i_addr = (xfs_caddr_t)&thdr;
+       lhdr.i_addr = &thdr;
        lhdr.i_len = sizeof(xfs_trans_header_t);
        lhdr.i_type = XLOG_REG_TYPE_TRANSHDR;
        tic->t_curr_res -= lhdr.i_len + sizeof(xlog_op_header_t);