diff --git a/fs/aio.c b/fs/aio.c index 7b976b564cfc..793b7b15ec4b 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -1511,6 +1511,7 @@ static int aio_prep_rw(struct kiocb *req, const struct iocb *iocb, int rw_type) { int ret; + req->ki_write_stream = 0; req->ki_complete = aio_complete_rw; req->private = NULL; req->ki_pos = iocb->aio_offset;