projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c7c13
)
udf: remove the second argument of k[un]map_atomic()
author
Cong Wang
<amwang@redhat.com>
Fri, 25 Nov 2011 15:14:36 +0000
(23:14 +0800)
committer
Cong Wang
<xiyou.wangcong@gmail.com>
Tue, 20 Mar 2012 13:48:26 +0000
(21:48 +0800)
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Cong Wang <amwang@redhat.com>
fs/udf/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/udf/file.c
b/fs/udf/file.c
index d567b8448dfca100c9c221488f86a3c3c4268cd7..7f3f7ba3df6e7526b78699dd17a7439380611461 100644
(file)
--- 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);
}