summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2016-01-19 00:57:59 +0000
committerngkaho1234 <ngkaho1234@gmail.com>2016-01-19 10:27:16 +0000
commitc93f3e49845d3b4f9f0cf5e5a2980fbc680b7413 (patch)
tree5d1004cf190562f75e8b258fdacdd50bebee6479
parent825892fffbe28f07223e3f1dcadb887732591d49 (diff)
ext4_journal: abort a buffer when its data is discarded.
-rw-r--r--lwext4/ext4_journal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lwext4/ext4_journal.c b/lwext4/ext4_journal.c
index ba1cf76..6fd4cbb 100644
--- a/lwext4/ext4_journal.c
+++ b/lwext4/ext4_journal.c
@@ -1800,7 +1800,7 @@ static int jbd_journal_prepare(struct jbd_journal *journal,
jbd_trans_finish_callback(journal,
trans,
jbd_buf->block_rec,
- false);
+ true);
/* The buffer has not been modified, just release
* that jbd_buf. */
@@ -1827,7 +1827,7 @@ static int jbd_journal_prepare(struct jbd_journal *journal,
jbd_trans_finish_callback(journal,
trans,
jbd_buf->block_rec,
- false);
+ true);
/* The buffer has not been modified, just release
* that jbd_buf. */