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:
Cong Wang 2011-11-25 23:14:36 +08:00 • committed by Cong Wang
commit 7c0fb22752

View file

@ -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);
}