diff options
| author | Mahesh Rajashekhara <mahesh.rajashekhara@microsemi.com> | 2018-04-17 17:03:12 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-02 07:53:42 -0700 |
| commit | 634602948de7dd0e04a0160f7d24eaad2eaa2b01 (patch) | |
| tree | 6766e161b399fc50de263bcf97a43ebb625956d8 /net/lapb/lapb_timer.c | |
| parent | abb841c5e943316bbf74ddb27d188813b3cba0d9 (diff) | |
scsi: sd: Defer spinning up drive while SANITIZE is in progress
commit 505aa4b6a8834a2300971c5220c380c3271ebde3 upstream.
A drive being sanitized will return NOT READY / ASC 0x4 / ASCQ
0x1b ("LOGICAL UNIT NOT READY. SANITIZE IN PROGRESS").
Prevent spinning up the drive until this condition clears.
[mkp: tweaked commit message]
Signed-off-by: Mahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
