udf: remove the second argument of k[un]map_atomic()
Acked-by: Jan Kara <jack@suse.cz> Signed-off-by: Cong Wang <amwang@redhat.com>
This commit is contained in:
parent
a1c7c13783
commit
7c0fb22752
|
@ -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 New Issue