io_uring/eventfd: abstract out ev_fd grab + release helpers
authorJens Axboe <axboe@kernel.dk>
Sat, 21 Sep 2024 07:54:08 +0000 (01:54 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Sep 2024 19:32:03 +0000 (13:32 -0600)
commitcf10c8fa8716e9748cd13a08d6a7375a232eb64e
tree373d40d1a9f4f64fb55bce217c0508ac04b09f39
parent99cbb2da2770baf4961d88a1c606675815840a9d
io_uring/eventfd: abstract out ev_fd grab + release helpers

In preparation for needing the ev_fd grabbing (and releasing) from
another path, abstract out two helpers for that.

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