mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
udf: remove the second argument of k[un]map_atomic()
Acked-by: Jan Kara <[email protected]> Signed-off-by: Cong Wang <[email protected]>
This commit is contained in:
parent
a1c7c13783
commit
7c0fb22752
1 changed files with 2 additions and 2 deletions
|
|
@ -87,10 +87,10 @@ static int udf_adinicb_write_end(struct file *file,
|
|||
char *kaddr;
|
||||
struct udf_inode_info *iinfo = UDF_I(inode);
|
||||
|
||||
kaddr = kmap_atomic(page, KM_USER0);
|
||||
kaddr = kmap_atomic(page);
|
||||
memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr + offset,
|
||||
kaddr + offset, copied);
|
||||
kunmap_atomic(kaddr, KM_USER0);
|
||||
kunmap_atomic(kaddr);
|
||||
|
||||
return simple_write_end(file, mapping, pos, len, copied, page, fsdata);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue