diff options
author | 2022-02-15 10:45:13 +0100 | |
---|---|---|
committer | 2022-02-16 19:44:24 -0700 | |
commit | 185ed423d1898ead071c18f6161959cd3cab2dde (patch) | |
tree | f4317fc2c5a03a9e4640ffd3e177e8d4727e8b8a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | memstick/mspro_block: fix handling of read-only devices (diff) | |
download | wireguard-linux-185ed423d1898ead071c18f6161959cd3cab2dde.tar.xz wireguard-linux-185ed423d1898ead071c18f6161959cd3cab2dde.zip |
memstick/mspro_block: simplify refcounting
Implement the ->free_disk method to free the msb_data structure only once
the last gendisk reference goes away instead of keeping a local
refcount.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220215094514.3828912-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions