On 3/4/22 08:03, Christoph Hellwig wrote:
Call free_opal_dev from scsi_disk_release as the opal_dev field is access from the ioctl handler, which isn't synchronized vs sd_release and thus can be accesses during or after sd_release was called.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>