mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
[PATCH] jbd: revert checkpoint list changes
This patch reverts commitf93ea411b7
: [PATCH] jbd: split checkpoint lists This broke journal_flush() for OCFS2, which is its method of being sure that metadata is sent to disk for another node. And two related commits8d3c7fce2d
and43c3e6f5ab
with the subjects: [PATCH] jbd: log_do_checkpoint fix [PATCH] jbd: remove_transaction fix These seem to be incremental bugfixes on the original patch and as such are no longer needed. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com> Cc: Jan Kara <jack@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
be5efffb76
commit
7c8903f637
3 changed files with 180 additions and 251 deletions
|
@ -829,8 +829,7 @@ restart_loop:
|
|||
journal->j_committing_transaction = NULL;
|
||||
spin_unlock(&journal->j_state_lock);
|
||||
|
||||
if (commit_transaction->t_checkpoint_list == NULL &&
|
||||
commit_transaction->t_checkpoint_io_list == NULL) {
|
||||
if (commit_transaction->t_checkpoint_list == NULL) {
|
||||
__journal_drop_transaction(journal, commit_transaction);
|
||||
} else {
|
||||
if (journal->j_checkpoint_transactions == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue