> @@ -366,7 +366,7 @@ xfs_log_writable( > return false; > if (xfs_readonly_buftarg(mp->m_log->l_targ)) > return false; > - if (XFS_FORCED_SHUTDOWN(mp)) > + if (xlog_is_shutdown(mp->m_log)) This wasn't XLOG_FORCED_SHUTDOWN to start with. Same for a few more spots.