diff options
author | Christoph Hellwig <hch@lst.de> | 2016-04-07 08:51:56 -0700 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-01 19:58:39 -0400 |
commit | 1af5bb491fbb41c8dab9d728a92758dd6a28afd4 (patch) | |
tree | 613a9e606d6c840323884e9b9edff096004719e1 /fs/fuse/file.c | |
parent | c64fb5c7448c1a0cfa163f126df3c112b6ca3e97 (diff) | |
download | linux-1af5bb491fbb41c8dab9d728a92758dd6a28afd4.tar.bz2 |
filemap: remove the pos argument to generic_file_direct_write
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r-- | fs/fuse/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 719924d6c706..7e8c4603d43a 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1186,7 +1186,7 @@ static ssize_t fuse_file_write_iter(struct kiocb *iocb, struct iov_iter *from) if (iocb->ki_flags & IOCB_DIRECT) { loff_t pos = iocb->ki_pos; - written = generic_file_direct_write(iocb, from, pos); + written = generic_file_direct_write(iocb, from); if (written < 0 || !iov_iter_count(from)) goto out; |