|
@@ -3180,7 +3180,7 @@ try_again:
|
|
STATIC void
|
|
STATIC void
|
|
xlog_state_want_sync(xlog_t *log, xlog_in_core_t *iclog)
|
|
xlog_state_want_sync(xlog_t *log, xlog_in_core_t *iclog)
|
|
{
|
|
{
|
|
- ASSERT(spin_is_locked(&log->l_icloglock));
|
|
|
|
|
|
+ assert_spin_locked(&log->l_icloglock);
|
|
|
|
|
|
if (iclog->ic_state == XLOG_STATE_ACTIVE) {
|
|
if (iclog->ic_state == XLOG_STATE_ACTIVE) {
|
|
xlog_state_switch_iclogs(log, iclog, 0);
|
|
xlog_state_switch_iclogs(log, iclog, 0);
|