projects
/
lwext4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3182763
)
ext4_journal: do not replay revoked block within the same transaction
author
Kaho Ng
<ngkaho1234@gmail.com>
Wed, 24 Aug 2016 07:18:09 +0000
(07:18 +0000)
committer
Kaho Ng
<ngkaho1234@gmail.com>
Wed, 24 Aug 2016 07:53:56 +0000
(15:53 +0800)
src/ext4_journal.c
patch
|
blob
|
history
diff --git
a/src/ext4_journal.c
b/src/ext4_journal.c
index 76cb0a9ef9a876b9fdf75c652ef3555d353410b1..a8482604893a0c14cbb4f1d004fc953307720f4b 100644
(file)
--- a/
src/ext4_journal.c
+++ b/
src/ext4_journal.c
@@
-884,7
+884,7
@@
static void jbd_replay_block_tags(struct jbd_fs *jbd_fs,
* 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,