You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
jbd2: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user