]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: sd: Do not exit sd_spinup_disk() quietly
authorChristian Loehle <cloehle@hyperstone.com>
Mon, 16 Aug 2021 09:37:51 +0000 (09:37 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Aug 2021 02:35:54 +0000 (22:35 -0400)
commitb802fac2fd42122509adad9aa4c8bb637bb1be92
treef1b6d1eb7dfbbe3391e8ef5b5514fa85600a7997
parentfd15b1ebd3af005045e7f1909742213faf27f86f
scsi: sd: Do not exit sd_spinup_disk() quietly

The sd_spinup_disk() function logs what is happening. Unfortunately this
output stops if the media was marked as removed in the meantime. Add a
print for this case too.

Link: https://lore.kernel.org/r/CWXP265MB26803209FD08A64222EEEA02C4FD9@CWXP265MB2680.GBRP265.PROD.OUTLOOK.COM
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Christian Loehle <cloehle@hyperstone.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.c