io_uring/notif: simplify io_notif_flush()
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 19 Apr 2024 11:08:41 +0000 (12:08 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 23 Apr 2024 01:31:18 +0000 (19:31 -0600)
commit5a569469b973cb7a6c58192a37dfb8418686e518
tree3be0dd2887479a46493b224cfef81f48c8e47957
parent3830fff39941bd41f50d3bb8355883276d7b0771
io_uring/notif: simplify io_notif_flush()

io_notif_flush() is partially duplicating io_tx_ubuf_complete(), so
instead of duplicating it, make the flush call io_tx_ubuf_complete.

Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/19e41652c16718b946a5c80d2ad409df7682e47e.1713369317.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/notif.c
io_uring/notif.h