Commit 7c0fb227 authored by Cong Wang's avatar Cong Wang Committed by Cong Wang

udf: remove the second argument of k[un]map_atomic()

Acked-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarCong Wang <amwang@redhat.com>
parent a1c7c137
...@@ -87,10 +87,10 @@ static int udf_adinicb_write_end(struct file *file, ...@@ -87,10 +87,10 @@ static int udf_adinicb_write_end(struct file *file,
char *kaddr; char *kaddr;
struct udf_inode_info *iinfo = UDF_I(inode); 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, memcpy(iinfo->i_ext.i_data + iinfo->i_lenEAttr + offset,
kaddr + offset, copied); kaddr + offset, copied);
kunmap_atomic(kaddr, KM_USER0); kunmap_atomic(kaddr);
return simple_write_end(file, mapping, pos, len, copied, page, fsdata); return simple_write_end(file, mapping, pos, len, copied, page, fsdata);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment