diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2011-02-23 15:27:17 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-25 13:00:57 -0500 |
commit | 4e98d3b8ac81696d38eb7b54e8566e763f7aa97a (patch) | |
tree | 839f2de3e8500abf3298dd931db1539bb55b1e79 /drivers/video/pm2fb.c | |
parent | e46ef004f8938eb7bc80f350d8efed9bf57f04b3 (diff) |
[SCSI] qla2xxx: Check return value of fc_block_scsi_eh()
The fc_block_scsi_eh() might return with status FAST_IO_FAIL
indicating I/O has been terminated due to fast_io_fail timeout.
In this case the rport is still blocked, so any error recovery
will be failing on this port. Hence we need to check if the
return value from fc_block_scsi_eh() is something other than 0,
in which case it should just return with that status.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/video/pm2fb.c')
0 files changed, 0 insertions, 0 deletions