diff options
author | Oliver Neukum <oneukum@suse.com> | 2019-09-03 12:18:39 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-10-01 05:52:14 +0200 |
commit | 21e3d6c81179bbdfa279efc8de456c34b814cfd2 (patch) | |
tree | 605980d8e3d8b11c180eb31ec230ddf3c0b570dc /include/scsi | |
parent | scsi: qla2xxx: Fix Nport ID display value (diff) | |
download | linux-21e3d6c81179bbdfa279efc8de456c34b814cfd2.tar.xz linux-21e3d6c81179bbdfa279efc8de456c34b814cfd2.zip |
scsi: sd: Ignore a failure to sync cache due to lack of authorization
I've got a report about a UAS drive enclosure reporting back Sense: Logical
unit access not authorized if the drive it holds is password protected.
While the drive is obviously unusable in that state as a mass storage
device, it still exists as a sd device and when the system is asked to
perform a suspend of the drive, it will be sent a SYNCHRONIZE CACHE. If
that fails due to password protection, the error must be ignored.
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20190903101840.16483-1-oneukum@suse.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions