diff options
author | Christoph Hellwig <hch@lst.de> | 2022-03-08 08:51:51 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-09 05:40:01 +0300 |
commit | c76c46fa04c42f7d3a494c526ce5f030da36b553 (patch) | |
tree | 581a1de75343f946597745952fec4ad8c18c09d9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fad45c3007a18064da759b4dba35eb722bc64e97 (diff) | |
download | linux-c76c46fa04c42f7d3a494c526ce5f030da36b553.tar.xz |
sd: call sd_zbc_release_disk before releasing the scsi_device reference
sd_zbc_release_disk accesses disk->device, so ensure that actually still has
a valid reference.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20220308055200.735835-6-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