Re: [PATCH v5 2/3] scsi: sg: fix blktrace debugfs entries leakage
From: Martin K. Petersen
Date: Wed Jun 14 2023 - 21:41:15 EST
> Fix this problem by shutdown bltkrace in sg_device_destroy(), where
> the device is deleted and all the users close the device, also grab a
> scsi_device reference from sg_add_device() to prevent scsi_device to
> be freed before sg_device_destroy();
Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
--
Martin K. Petersen Oracle Linux Engineering