scsi: storvsc: Filter out storvsc messages CD-ROM medium not present
authorCathy Avery <cavery@redhat.com>
Mon, 23 May 2016 14:29:17 +0000 (10:29 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Jul 2016 03:16:31 +0000 (23:16 -0400)
commit84b342c0f4dc0180ad4ac701b46024761ff4af11
treef7713e6bcb21818081bccaf47cd416a007abad68
parent8a30a3c7e67567075aabe135136423b3c7d19042
scsi: storvsc: Filter out storvsc messages CD-ROM medium not present

When a virtual scsi DVD device is present with no image file
attached the storvsc driver logs all resulting unnecessary sense errors
whenever IO is issued to the device.

[storvsc] Sense Key : Not Ready [current]
[storvsc] Add. Sense: Medium not present - tray closed

[mkp: Fixed whitespace]

Signed-off-by: Cathy Avery <cavery@redhat.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/storvsc_drv.c