mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
jbd2: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
This commit is contained in:
parent
8fb53c46d9
commit
303a8f2afc
3 changed files with 10 additions and 10 deletions
|
@ -286,10 +286,10 @@ static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh)
|
|||
char *addr;
|
||||
__u32 checksum;
|
||||
|
||||
addr = kmap_atomic(page, KM_USER0);
|
||||
addr = kmap_atomic(page);
|
||||
checksum = crc32_be(crc32_sum,
|
||||
(void *)(addr + offset_in_page(bh->b_data)), bh->b_size);
|
||||
kunmap_atomic(addr, KM_USER0);
|
||||
kunmap_atomic(addr);
|
||||
|
||||
return checksum;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue