summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2015-12-14 09:20:30 +0000
committerngkaho1234 <ngkaho1234@gmail.com>2015-12-14 09:20:41 +0000
commitfc4574f0955a74a7b034fa60b1df176360517271 (patch)
treec5bced66327dea57e46139a856ec5ea7e9f9b21f
parentdaa7eb39d8849fd04967b40f39389ba643360087 (diff)
ext4_journal: Fix s_first field being touched accidentally.
-rw-r--r--lwext4/ext4_journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwext4/ext4_journal.c b/lwext4/ext4_journal.c
index c463219..aeb5565 100644
--- a/lwext4/ext4_journal.c
+++ b/lwext4/ext4_journal.c
@@ -769,7 +769,7 @@ int jbd_recover(struct jbd_fs *jbd_fs)
void jbd_journal_write_sb(struct jbd_journal *journal)
{
struct jbd_fs *jbd_fs = journal->jbd_fs;
- jbd_set32(&jbd_fs->sb, start, journal->first);
+ jbd_set32(&jbd_fs->sb, start, journal->start);
jbd_set32(&jbd_fs->sb, sequence, journal->trans_id);
jbd_fs->dirty = true;
}