diff options
author | Cong Wang <amwang@redhat.com> | 2012-06-23 11:24:48 +0800 |
---|---|---|
committer | Cong Wang <amwang@redhat.com> | 2012-07-23 14:11:22 +0800 |
commit | 906adea1536fe476c1068d86df01f8b130cde105 (patch) | |
tree | fb1ba44aa9823ab2301ef086099fd610394eae41 /fs/jbd2/commit.c | |
parent | a6be1fcbc57f95bb47ef3c8e4ee3d83731b8f21e (diff) |
jbd2: remove the second argument of kmap_atomic
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/jbd2/commit.c')
-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 216f4299f65..af5280fb579 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, return; sequence = cpu_to_be32(sequence); - addr = kmap_atomic(page, KM_USER0); + addr = kmap_atomic(page); csum = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&sequence, sizeof(sequence)); csum = jbd2_chksum(j, csum, addr + offset_in_page(bh->b_data), bh->b_size); - kunmap_atomic(addr, KM_USER0); + kunmap_atomic(addr); tag->t_checksum = cpu_to_be32(csum); } |