git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
autofs: use __kernel_write() for the autofs pipe writing
[sfrench/cifs-2.6.git]
/
fs
/
autofs
/
waitq.c
diff --git
a/fs/autofs/waitq.c
b/fs/autofs/waitq.c
index 74c886f7c51cbe25334d38a9c57fcb2695f05bd4..5ced859dac5396b47b4bf78fc1599e501cc8a135 100644
(file)
--- a/
fs/autofs/waitq.c
+++ b/
fs/autofs/waitq.c
@@
-53,7
+53,7
@@
static int autofs_write(struct autofs_sb_info *sbi,
mutex_lock(&sbi->pipe_mutex);
while (bytes) {
- wr =
kernel_write(file, data, bytes, &file->f_pos
);
+ wr =
__kernel_write(file, data, bytes, NULL
);
if (wr <= 0)
break;
data += wr;