ref: 13875d2d90245070874fb7e85d9dcd86699bca5e
parent: 318276320cd6beafa4781aaa1d6694c60adeb18a
author: Kaho Ng <[email protected]>
date: Wed Aug 24 03:18:09 EDT 2016
ext4_journal: do not replay revoked block within the same transaction
--- a/src/ext4_journal.c
+++ b/src/ext4_journal.c
@@ -884,7 +884,7 @@
* is equal or greater than that in revoke entry.*/
revoke_entry = jbd_revoke_entry_lookup(info, block);
if (revoke_entry &&
- trans_id_diff(arg->this_trans_id, revoke_entry->trans_id) < 0)
+ trans_id_diff(arg->this_trans_id, revoke_entry->trans_id) <= 0)
return;
ext4_dbg(DEBUG_JBD,