diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-09 17:58:52 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-02 03:19:34 (GMT) |
commit | 41fc56d573c35a212688b12b48af8c303f9bb6d2 (patch) | |
tree | 049c1a885b2a67156b94ac9a7da848922966280a /fs/ext4 | |
parent | b2f42cfeeb0452ca3e004c3014cda99b53554d47 (diff) | |
download | linux-41fc56d573c35a212688b12b48af8c303f9bb6d2.tar.xz |
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/ext4')
-rw-r--r-- | fs/ext4/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 1a50739..d564bcf 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -146,7 +146,7 @@ ext4_file_dio_write(struct kiocb *iocb, const struct iovec *iov, overwrite = 1; } - ret = __generic_file_aio_write(iocb, iov, nr_segs, &iocb->ki_pos); + ret = __generic_file_aio_write(iocb, iov, nr_segs); mutex_unlock(&inode->i_mutex); if (ret > 0) { |