]> www.infradead.org Git - users/hch/misc.git/commit
io_uring/rw: drop -EOPNOTSUPP check in __io_complete_rw_common()
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Sep 2024 14:57:04 +0000 (08:57 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Sep 2024 15:34:44 +0000 (09:34 -0600)
commit90bfb28d5fa8127a113a140c9791ea0b40ab156a
tree76dedcfc91d10428cde50687ef103f385508b78c
parentc0a9d496e0fece67db777bd48550376cf2960c47
io_uring/rw: drop -EOPNOTSUPP check in __io_complete_rw_common()

A recent change ensured that the necessary -EOPNOTSUPP -> -EAGAIN
transformation happens inline on both the reader and writer side,
and hence there's no need to check for both of these anymore on
the completion handler side.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rw.c