Browse Source

ext4_journal: Fix s_first field being touched accidentally.

pull/11/head
ngkaho1234 9 years ago
parent
commit
fc4574f095
  1. 2
      lwext4/ext4_journal.c

2
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;
}

Loading…
Cancel
Save