io_uring/fdinfo: get rid of ref tryget
authorJens Axboe <axboe@kernel.dk>
Mon, 10 Jul 2023 19:13:54 +0000 (13:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 10 Aug 2023 16:24:19 +0000 (10:24 -0600)
commit3aaf22b62a9270b90524cd257755b960461a7614
treeab7a9b6c1c74fb866461713cf0ba2c088ca65377
parent9e4bef2ba9e0c5fd0e0ae383f0c0fb0e338aafad
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: Jens Axboe <axboe@kernel.dk>
io_uring/fdinfo.c