io_uring: add rsrc_ref locking routines
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Fri, 15 Jan 2021 17:37:47 +0000 (17:37 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 15:18:36 +0000 (08:18 -0700)
commitd3dc3af18a739023c5c7b80f0396d2cee0a62fd8
tree31096960c45eb1719515d37db5f44aac67db0206
parentedc39a5e848d8ca663f7df8a79e6d3068d4e65bf
io_uring: add rsrc_ref locking routines

Encapsulate resource reference locking into separate routines.

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