diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-08 07:05:28 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-08 17:55:03 -0700 |
commit | 41d36a9f3e5336f5b48c3adba0777b8e217020d7 (patch) | |
tree | 4655157cf4aba07419d4f20c028cc80791bf1208 /fs/aio.c | |
parent | c75e707fe1aab32f1dc8e09845533b6542d9aaa9 (diff) |
fs: remove kiocb.ki_hint
This field is entirely unused now except for a tracepoint in f2fs, so
remove it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220308060529.736277-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/aio.c')
-rw-r--r-- | fs/aio.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1478,7 +1478,6 @@ static int aio_prep_rw(struct kiocb *req, const struct iocb *iocb) req->ki_flags = iocb_flags(req->ki_filp); if (iocb->aio_flags & IOCB_FLAG_RESFD) req->ki_flags |= IOCB_EVENTFD; - req->ki_hint = ki_hint_validate(file_write_hint(req->ki_filp)); if (iocb->aio_flags & IOCB_FLAG_IOPRIO) { /* * If the IOCB_FLAG_IOPRIO flag of aio_flags is set, then |