here's a small patchset to make the 'state' device attribute pollable.
It was supposed to be a small patch, but tnen hch suggested a rework
and I found a missing state transition.
So there you go.
Hannes Reinecke (3):
scsi: allow state transition CREATED_BLOCK -> TRANSPORT_OFFLINE
scsi_lib: rework scsi_internal_device_unblock_nowait()
scsi: make 'state' device attribute pollable
drivers/scsi/scsi_lib.c | 22 ++++++++++++++++------
drivers/scsi/scsi_transport_srp.c | 5 ++++-
2 files changed, 20 insertions(+), 7 deletions(-)