io_uring/futex: Allocate ifd with generic alloc_cache helper
authorGabriel Krisman Bertazi <krisman@suse.de>
Mon, 16 Dec 2024 20:46:09 +0000 (15:46 -0500)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Dec 2024 20:47:47 +0000 (13:47 -0700)
commitb42176e5055a628217ff1536111a9e2df23db835
tree990be9faf4e9aa878fc538db5c695c5337183715
parent694022b01368387cc1ed8485e279dfe27939ee43
io_uring/futex: Allocate ifd with generic alloc_cache helper

Instead of open-coding the allocation, use the generic alloc_cache
helper.

Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20241216204615.759089-4-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/futex.c