Commit b32cc17
ata: libata-scsi: Add missing scsi_device_put() in ata_scsi_dev_rescan()
Call scsi_device_put() in ata_scsi_dev_rescan() if the device or its
queue are not running.
Fixes: 0c76106 ("scsi: sd: Fix TCG OPAL unlock on system resume")
Cc: [email protected]
Signed-off-by: Yihang Li <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Niklas Cassel <[email protected]>1 parent 12d724f commit b32cc17
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4894 | 4894 | | |
4895 | 4895 | | |
4896 | 4896 | | |
4897 | | - | |
| 4897 | + | |
| 4898 | + | |
4898 | 4899 | | |
| 4900 | + | |
4899 | 4901 | | |
4900 | 4902 | | |
4901 | 4903 | | |
| |||
0 commit comments