Skip to content
Commit 3aaf22b6 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/fdinfo: get rid of ref tryget



The caller holds a reference to the ring itself, so by definition
the ring cannot go away. There's no need to play games with tryget
for the reference, as we don't need an extra reference at all.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9e4bef2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment