xfs: merge xlog_commit_record with xlog_write_done