diff options
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r-- | fs/jbd2/commit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 2eb55c3361a8..efd0ce9489ae 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c | |||
@@ -694,9 +694,11 @@ void jbd2_journal_commit_transaction(journal_t *journal) | |||
694 | the last tag we set up. */ | 694 | the last tag we set up. */ |
695 | 695 | ||
696 | tag->t_flags |= cpu_to_be16(JBD2_FLAG_LAST_TAG); | 696 | tag->t_flags |= cpu_to_be16(JBD2_FLAG_LAST_TAG); |
697 | |||
698 | jbd2_descriptor_block_csum_set(journal, descriptor); | ||
699 | start_journal_io: | 697 | start_journal_io: |
698 | if (descriptor) | ||
699 | jbd2_descriptor_block_csum_set(journal, | ||
700 | descriptor); | ||
701 | |||
700 | for (i = 0; i < bufs; i++) { | 702 | for (i = 0; i < bufs; i++) { |
701 | struct buffer_head *bh = wbuf[i]; | 703 | struct buffer_head *bh = wbuf[i]; |
702 | /* | 704 | /* |