Searched hist:"01 d0c698536fe920733fc6cab7f9740c7acfdece" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/ |
H A D | sr.c | diff 01d0c698536fe920733fc6cab7f9740c7acfdece Tue Mar 08 06:51:54 CET 2022 Christoph Hellwig <hch@lst.de> sr: implement ->free_disk to simplify refcounting
Simplify the refcounting and remove the need to clear disk->private_data by implementing the ->free_disk method.
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-9-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
|