/* An error must be cleared or acked to take a FS out of readonly mode.  */
void jbd2_journal_ack_err(journal_t *journal)
/* An error must be cleared or acked to take a FS out of readonly mode.  */
void jbd2_journal_ack_err(journal_t *journal)
{
	spin_lock(&journal->j_state_lock);
	if (journal->j_errno)
		journal->j_flags |= JBD2_ACK_ERR;
	spin_unlock(&journal->j_state_lock);
}