io_uring: create common fixed_rsrc_ref_node handling routines
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Fri, 15 Jan 2021 17:37:50 +0000 (17:37 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 15:18:37 +0000 (08:18 -0700)
commit837fa0a9e4bb4b369b2873ea637c4ae834c65981
treed46f7d0dbfa9c13cbdfe92de35b917d54f3a6add
parentdab8a64c9fb8a5bdf752da6b5961ab6ec7f12236
io_uring: create common fixed_rsrc_ref_node handling routines

Create common routines to be used for both files/buffers registration.

[remove io_sqe_rsrc_set_node substitution]

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
[merge, quiesce only for files]
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c