From fc4574f0955a74a7b034fa60b1df176360517271 Mon Sep 17 00:00:00 2001 From: ngkaho1234 Date: Mon, 14 Dec 2015 09:20:30 +0000 Subject: [PATCH] ext4_journal: Fix s_first field being touched accidentally. --- lwext4/ext4_journal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }