diff options
author | Christoph Hellwig <[email protected]> | 2022-02-15 10:45:14 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-02-16 19:44:24 -0700 |
commit | 24b45e6c25173abcf8d5e82285212b47f2b0f86b (patch) | |
tree | 023885df01a520bdbaccb12c05389f2ad778371f /scripts/gdb/linux | |
parent | 185ed423d1898ead071c18f6161959cd3cab2dde (diff) |
virtio_blk: simplify refcounting
Implement the ->free_disk method to free the virtio_blk structure only
once the last gendisk reference goes away instead of keeping a local
refcount.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions