summaryrefslogtreecommitdiffstats
path: root/fs/autofs4/waitq.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-04-03 21:07:48 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-12 04:29:37 +0200
commita35fb914ae62a58ca7519778fffac722c6ae255f (patch)
tree4247bf8db32b4433c9f5c76c512fdc52d6f4cf93 /fs/autofs4/waitq.c
parentnew helper: __vfs_write() (diff)
downloadlinux-a35fb914ae62a58ca7519778fffac722c6ae255f.tar.xz
linux-a35fb914ae62a58ca7519778fffac722c6ae255f.zip
autofs: switch to __vfs_write()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4/waitq.c')
-rw-r--r--fs/autofs4/waitq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c
index 116fd38ee472..2ad05ab93db8 100644
--- a/fs/autofs4/waitq.c
+++ b/fs/autofs4/waitq.c
@@ -70,7 +70,7 @@ static int autofs4_write(struct autofs_sb_info *sbi,
mutex_lock(&sbi->pipe_mutex);
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;
bytes -= wr;
}