summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_sysfs.c
diff options
context:
space:
mode:
authorBryant G. Ly <bgly@us.ibm.com>2017-10-02 12:59:38 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-02 22:49:27 -0400
commit88e65389fce1f68ba6d13ae2fc0f8d7e5c338c52 (patch)
treee0d160162aa1b2d916e9047311871d96d350c70f /drivers/scsi/scsi_sysfs.c
parent1c048a250aae1aaab0ba9dbec908f0c6cdb8614f (diff)
scsi: ibmvscsis: Fix write_pending failure path
For write_pending if the queue is down or client failed then return -EIO so that LIO can properly process the completed command. Prior we returned 0 since LIO could not handle it properly. Now with commit fa7e25cf13a6 ("target: Fix unknown fabric callback queue-full errors") that patch addresses LIO's ability to handle things right. Signed-off-by: Bryant G. Ly <bgly@us.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
0 files changed, 0 insertions, 0 deletions