diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-12 02:58:20 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-02 05:19:35 +0200 |
commit | 5cb6c6c7eb1ed24744b41fad47d9a25b72207098 (patch) | |
tree | 14c8b8163c3491246412b0f23a4294f9fef5b222 /fs/btrfs | |
parent | btrfs_file_aio_write(): get rid of ppos (diff) | |
download | linux-5cb6c6c7eb1ed24744b41fad47d9a25b72207098.tar.xz linux-5cb6c6c7eb1ed24744b41fad47d9a25b72207098.zip |
generic_file_direct_write(): get rid of ppos argument
always equal to &iocb->ki_pos.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index f6032a2bfab9..8ed4b165abbd 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -1640,7 +1640,7 @@ static ssize_t __btrfs_direct_write(struct kiocb *iocb, loff_t endbyte; int err; - written = generic_file_direct_write(iocb, iov, &nr_segs, pos, &iocb->ki_pos, + written = generic_file_direct_write(iocb, iov, &nr_segs, pos, count, ocount); if (written < 0 || written == count) |