kill the 4th argument of __generic_file_aio_write()
[linux-2.6-block.git] / fs / ext4 / file.c
index 1a5073959f322655b93ade8189107b9148d244ed..d564bcfb23c5c88d964ad1472371cbbe181de6f5 100644 (file)
@@ -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) {