~sircmpwn/hare unlisted

9511626c4b9a89404ae44901d5ddc95ad54b7a45 — Drew DeVault 30 days ago 1bae701
linux::io_uring: fix needs_enter

Signed-off-by: Drew DeVault <sir@cmpwn.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M linux/io_uring/queue.ha
M linux/io_uring/queue.ha => linux/io_uring/queue.ha +1 -1
@@ 24,7 24,7 @@ export fn must_get_sqe(ring: *io_uring) *sqe = match (get_sqe(ring)) {
};

fn needs_enter(ring: *io_uring, flags: *enter_flags) bool = {
	if (ring.flags & setup_flags::IOPOLL == setup_flags::IOPOLL) {
	if (ring.flags & setup_flags::IOPOLL != setup_flags::IOPOLL) {
		return true;
	};