shithub: lwext4

Download patch

ref: fc4574f0955a74a7b034fa60b1df176360517271
parent: daa7eb39d8849fd04967b40f39389ba643360087
author: ngkaho1234 <ngkaho1234@gmail.com>
date: Mon Dec 14 04:20:30 EST 2015

ext4_journal: Fix s_first field being touched accidentally.

--- a/lwext4/ext4_journal.c
+++ b/lwext4/ext4_journal.c
@@ -769,7 +769,7 @@
 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;
 }