Commit cd0ecfbe authored by James Bottomley's avatar James Bottomley

SCSI: Add missing state transition BLOCK->OFFLINE

From: 	James.Smart@Emulex.Com
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 78d0b1a9
...@@ -1672,6 +1672,7 @@ scsi_device_set_state(struct scsi_device *sdev, enum scsi_device_state state) ...@@ -1672,6 +1672,7 @@ scsi_device_set_state(struct scsi_device *sdev, enum scsi_device_state state)
case SDEV_CREATED: case SDEV_CREATED:
case SDEV_RUNNING: case SDEV_RUNNING:
case SDEV_QUIESCE: case SDEV_QUIESCE:
case SDEV_BLOCK:
break; break;
default: default:
goto illegal; goto illegal;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment