io_uring: keep generic rsrc infra generic
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 20 Feb 2021 18:03:49 +0000 (18:03 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 21 Feb 2021 02:02:45 +0000 (19:02 -0700)
commitf2303b1f8244d88ffca28d3be6166ce4835cc27a
tree9d92dfc0a38ebe2c46fdc076d5e6524cb6ab197f
parente6cb007c45dedada0a847eaa486c49509d63b1e8
io_uring: keep generic rsrc infra generic

io_rsrc_ref_quiesce() is a generic resource function, though now it
was wired to allocate and initialise ref nodes with file-specific
callbacks/etc. Keep it sane by passing in as a parameters everything we
need for initialisations, otherwise it will hurt us badly one day.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c