summaryrefslogtreecommitdiff
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-09 12:58:52 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-01 23:19:34 -0400
commit41fc56d573c35a212688b12b48af8c303f9bb6d2 (patch)
tree049c1a885b2a67156b94ac9a7da848922966280a /fs/block_dev.c
parentb2f42cfeeb0452ca3e004c3014cda99b53554d47 (diff)
downloadlinux-rpi-41fc56d573c35a212688b12b48af8c303f9bb6d2.tar.gz
linux-rpi-41fc56d573c35a212688b12b48af8c303f9bb6d2.tar.bz2
linux-rpi-41fc56d573c35a212688b12b48af8c303f9bb6d2.zip
kill the 4th argument of __generic_file_aio_write()
It's always equal to &iocb->ki_pos, where iocb is the value of the 1st argument. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r--fs/block_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index 1e86823a9cbd..764bd3b8d2fa 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -1518,7 +1518,7 @@ ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov,
BUG_ON(iocb->ki_pos != pos);
blk_start_plug(&plug);
- ret = __generic_file_aio_write(iocb, iov, nr_segs, &iocb->ki_pos);
+ ret = __generic_file_aio_write(iocb, iov, nr_segs);
if (ret > 0) {
ssize_t err;