diff options
Diffstat (limited to 'fs/ocfs2/journal.c')
-rw-r--r-- | fs/ocfs2/journal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index 2daa5848faf2..3b54dba0f74b 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c | |||
@@ -752,6 +752,7 @@ static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, | |||
752 | if (replayed) | 752 | if (replayed) |
753 | ocfs2_bump_recovery_generation(fe); | 753 | ocfs2_bump_recovery_generation(fe); |
754 | 754 | ||
755 | ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &fe->i_check); | ||
755 | status = ocfs2_write_block(osb, bh, journal->j_inode); | 756 | status = ocfs2_write_block(osb, bh, journal->j_inode); |
756 | if (status < 0) | 757 | if (status < 0) |
757 | mlog_errno(status); | 758 | mlog_errno(status); |
@@ -1486,6 +1487,7 @@ static int ocfs2_replay_journal(struct ocfs2_super *osb, | |||
1486 | osb->slot_recovery_generations[slot_num] = | 1487 | osb->slot_recovery_generations[slot_num] = |
1487 | ocfs2_get_recovery_generation(fe); | 1488 | ocfs2_get_recovery_generation(fe); |
1488 | 1489 | ||
1490 | ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &fe->i_check); | ||
1489 | status = ocfs2_write_block(osb, bh, inode); | 1491 | status = ocfs2_write_block(osb, bh, inode); |
1490 | if (status < 0) | 1492 | if (status < 0) |
1491 | mlog_errno(status); | 1493 | mlog_errno(status); |