diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-11 20:58:20 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-01 23:19:35 -0400 |
commit | 5cb6c6c7eb1ed24744b41fad47d9a25b72207098 (patch) | |
tree | 14c8b8163c3491246412b0f23a4294f9fef5b222 /fs/btrfs/file.c | |
parent | 867c4f9329e1bf7d0967bec761f033373f72b55e (diff) |
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/file.c')
-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, | |||
1640 | loff_t endbyte; | 1640 | loff_t endbyte; |
1641 | int err; | 1641 | int err; |
1642 | 1642 | ||
1643 | written = generic_file_direct_write(iocb, iov, &nr_segs, pos, &iocb->ki_pos, | 1643 | written = generic_file_direct_write(iocb, iov, &nr_segs, pos, |
1644 | count, ocount); | 1644 | count, ocount); |
1645 | 1645 | ||
1646 | if (written < 0 || written == count) | 1646 | if (written < 0 || written == count) |