Files
twx-linux/drivers/scsi
ManYi Li f77f972384 scsi: sr: Return appropriate error code when disk is ejected
[ Upstream commit 7dd753ca59 ]

Handle a reported media event code of 3. This indicates that the media has
been removed from the drive and user intervention is required to proceed.
Return DISK_EVENT_EJECT_REQUEST in that case.

Link: https://lore.kernel.org/r/20210611094402.23884-1-limanyi@uniontech.com
Signed-off-by: ManYi Li <limanyi@uniontech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-07 08:22:46 -04:00
..
2020-12-02 12:59:04 -05:00
2021-01-06 14:56:51 +01:00
2021-05-11 14:47:31 +02:00
2021-05-11 14:47:27 +02:00
2021-05-14 09:50:27 +02:00
2021-05-14 09:50:27 +02:00
2021-05-14 09:50:27 +02:00