From: Cong Wang Date: Fri, 25 Nov 2011 15:14:36 +0000 (+0800) Subject: udf: remove the second argument of k[un]map_atomic() X-Git-Tag: next-20111205~3^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=057c9e55539028e99223fa0408b40cedc68dd3bd;p=karo-tx-linux.git udf: remove the second argument of k[un]map_atomic() --- diff --git a/fs/udf/file.c b/fs/udf/file.c index d8ffa7cc661d..95b8d915e16e 100644 --- a/fs/udf/file.c +++ b/fs/udf/file.c @@ -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); }