]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/eventfd: move trigger check into a helper
authorJens Axboe <axboe@kernel.dk>
Sat, 21 Sep 2024 07:59:50 +0000 (01:59 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Oct 2024 19:43:26 +0000 (13:43 -0600)
commit3ca5a356041438534ecbb74159df91736238c6b1
tree1299e09b424282700ed2fd19f928821a39d8684d
parent60c5f15800f21883615689e2423217a9c8a1b502
io_uring/eventfd: move trigger check into a helper

It's a bit hard to read what guards the triggering, move it into a
helper and add a comment explaining it too. This additionally moves
the ev_fd == NULL check in there as well.

Link: https://lore.kernel.org/r/20240921080307.185186-5-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/eventfd.c