Revert "jbd2: stop waiting for space when jbd2_cleanup_journal_tail() returns error"
This reverts commit 7477cade32
.
This commit is contained in:
parent
79fa380062
commit
f542f45344
1 changed files with 2 additions and 5 deletions
|
@ -125,11 +125,8 @@ __releases(&journal->j_state_lock)
|
|||
write_unlock(&journal->j_state_lock);
|
||||
if (chkpt) {
|
||||
jbd2_log_do_checkpoint(journal);
|
||||
} else if (jbd2_cleanup_journal_tail(journal) <= 0) {
|
||||
/*
|
||||
* We were able to recover space or the
|
||||
* journal was aborted due to an error.
|
||||
*/
|
||||
} else if (jbd2_cleanup_journal_tail(journal) == 0) {
|
||||
/* We were able to recover space; yay! */
|
||||
;
|
||||
} else if (has_transaction) {
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue