]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/rw: clean up __io_read() obsolete comment and early returns
authorJoanne Koong <joannelkoong@gmail.com>
Wed, 1 Apr 2026 17:35:11 +0000 (10:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Apr 2026 12:55:50 +0000 (06:55 -0600)
commitc7f3aaf3e835f2dc0f3f293ae3739b844b909595
tree8db0c9e627d3d8c5ecb1de1c7cc4e534087e47ae
parent4c6f93951b8fc556f2a37d45b32cb7f7e76b0e91
io_uring/rw: clean up __io_read() obsolete comment and early returns

After commit a9165b83c193 ("io_uring/rw: always setup io_async_rw for
read/write requests") which moved the iovec allocation into the prep
path and stores it in req->async_data where it now gets freed as part of
the request lifecycle, this comment is now outdated.

Remove it and clean up the goto as well.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://patch.msgid.link/20260401173511.4052303-1-joannelkoong@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rw.c