scsi_dh_emc: update 'access_state' field
authorHannes Reinecke <hare@suse.de>
Thu, 3 Mar 2016 06:54:11 +0000 (07:54 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 5 Mar 2016 22:20:33 +0000 (17:20 -0500)
commit0323375c8bc5c101c9284856cac19a0b9ece71d4
tree67376b5e4d1ff54389446136c9d52e44114524da
parent1a5dc166cd8843252169f52cb714b324f6d679ef
scsi_dh_emc: update 'access_state' field

Update the 'access_state' field of the SCSI device whenever the path
state changes.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_emc.c