projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db51242
)
dump_emit(): use __kernel_write(), not vfs_write()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 16 Nov 2013 02:58:33 +0000
(21:58 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 16 Nov 2013 03:04:09 +0000
(22:04 -0500)
the caller has already done file_start_write()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/coredump.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/coredump.c
b/fs/coredump.c
index a2856f7bb613b91c8691844f1781086ff31f5611..bc3fbcd32558fd61823b126997ace2785d7bac21 100644
(file)
--- a/
fs/coredump.c
+++ b/
fs/coredump.c
@@
-695,7
+695,7
@@
int dump_emit(struct coredump_params *cprm, const void *addr, int nr)
while (nr) {
if (dump_interrupted())
return 0;
- n =
vfs
_write(file, addr, nr, &pos);
+ n =
__kernel
_write(file, addr, nr, &pos);
if (n <= 0)
return 0;
file->f_pos = pos;