projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6be1fc
)
jbd2: remove the second argument of kmap_atomic
author
Cong Wang
<amwang@redhat.com>
Sat, 23 Jun 2012 03:24:48 +0000
(11:24 +0800)
committer
Cong Wang
<amwang@redhat.com>
Mon, 23 Jul 2012 06:11:22 +0000
(14:11 +0800)
Signed-off-by: Cong Wang <amwang@redhat.com>
fs/jbd2/commit.c
patch
|
blob
|
history
diff --git
a/fs/jbd2/commit.c
b/fs/jbd2/commit.c
index 216f4299f65e7e2f1e26859c8e1247cdf71c55df..af5280fb579bf392f4f3ca58a4c021568655c104 100644
(file)
--- 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);
}