|
@@ -70,7 +70,7 @@ static int autofs4_write(struct autofs_sb_info *sbi,
|
|
|
|
|
|
mutex_lock(&sbi->pipe_mutex);
|
|
mutex_lock(&sbi->pipe_mutex);
|
|
while (bytes &&
|
|
while (bytes &&
|
|
- (wr = file->f_op->write(file,data,bytes,&file->f_pos)) > 0) {
|
|
|
|
|
|
+ (wr = __vfs_write(file,data,bytes,&file->f_pos)) > 0) {
|
|
data += wr;
|
|
data += wr;
|
|
bytes -= wr;
|
|
bytes -= wr;
|
|
}
|
|
}
|