diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-09-11 13:54:32 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-09-11 13:54:32 -0600 |
commit | bfc0aa7a512f9a4462a88ca7352b00b83f8d68fd (patch) | |
tree | 24b4a25e54a354cdc67a9827f6c8e0d72534c08c /certs | |
parent | 021b153f7d4115d99efa0d57ae2da6de1228295d (diff) |
io_uring/rsrc: add reference count to struct io_mapped_ubuf
Currently there's a single ring owner of a mapped buffer, and hence the
reference count will always be 1 when it's torn down and freed. However,
in preparation for being able to link io_mapped_ubuf to different spots,
add a reference count to manage the lifetime of it.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions