diff options
author | Keith Busch <kbusch@kernel.org> | 2023-11-30 22:53:09 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-12-02 02:29:18 +0100 |
commit | 8fadb86d4ced8b8349a3b227d6d66736ff150819 (patch) | |
tree | efbb6ec6ce356e78fdd649dec84fed29c8596c8d /io_uring | |
parent | iouring: remove IORING_URING_CMD_POLLED (diff) | |
download | linux-8fadb86d4ced8b8349a3b227d6d66736ff150819.tar.xz linux-8fadb86d4ced8b8349a3b227d6d66736ff150819.zip |
io_uring: remove uring_cmd cookie
No more users of this field.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20231130215309.2923568-5-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r-- | io_uring/uring_cmd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/uring_cmd.c b/io_uring/uring_cmd.c index acbc2924ecd2..b39ec25c36bc 100644 --- a/io_uring/uring_cmd.c +++ b/io_uring/uring_cmd.c @@ -182,7 +182,6 @@ int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags) return -EOPNOTSUPP; issue_flags |= IO_URING_F_IOPOLL; req->iopoll_completed = 0; - WRITE_ONCE(ioucmd->cookie, NULL); } ret = file->f_op->uring_cmd(ioucmd, issue_flags); |