diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/jbd2/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 216f4299f65e..af5280fb579b 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c | |||
@@ -349,12 +349,12 @@ static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, | |||
349 | return; | 349 | return; |
350 | 350 | ||
351 | sequence = cpu_to_be32(sequence); | 351 | sequence = cpu_to_be32(sequence); |
352 | addr = kmap_atomic(page, KM_USER0); | 352 | addr = kmap_atomic(page); |
353 | csum = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&sequence, | 353 | csum = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&sequence, |
354 | sizeof(sequence)); | 354 | sizeof(sequence)); |
355 | csum = jbd2_chksum(j, csum, addr + offset_in_page(bh->b_data), | 355 | csum = jbd2_chksum(j, csum, addr + offset_in_page(bh->b_data), |
356 | bh->b_size); | 356 | bh->b_size); |
357 | kunmap_atomic(addr, KM_USER0); | 357 | kunmap_atomic(addr); |
358 | 358 | ||
359 | tag->t_checksum = cpu_to_be32(csum); | 359 | tag->t_checksum = cpu_to_be32(csum); |
360 | } | 360 | } |