diff options
Diffstat (limited to 'fs/aio.c')
| -rw-r--r-- | fs/aio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/aio.c b/fs/aio.c index 34027b67e2f4bc..dcad3a66748c04 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -1568,6 +1568,7 @@ static int io_submit_one(struct kioctx *ctx, struct iocb __user *user_iocb, req->common.ki_pos = iocb->aio_offset; req->common.ki_complete = aio_complete; req->common.ki_flags = iocb_flags(req->common.ki_filp); + req->common.ki_hint = file_write_hint(file); if (iocb->aio_flags & IOCB_FLAG_RESFD) { /* |
