commit | 9349923d3f83bea1ba287a851c3f6737c6513039 | [log] [tgz] |
---|---|---|
author | Joseph Gruher <joseph.r.gruher@intel.com> | Wed Jan 05 16:00:22 2011 -0500 |
committer | James Bottomley <James.Bottomley@suse.de> | Mon Jan 24 11:13:25 2011 -0600 |
tree | 50dac8d5fc4834a80da488e52c3e8fb6c702df15 | |
parent | ed0f36bc5719b25659b637f80ceea85494b84502 [diff] |
[SCSI] scsi_dh_alua: fix stpg_endio group state reporting Initialize stpg_endio() 'err' to SCSI_DH_OK and only change it to SCSI_DH_IO accordingly. This allows the switching of target group state to be properly reported when no error has occurred. Signed-off-by: Joseph Gruher <joseph.r.gruher@intel.com> Signed-off-by: Ilgu Hong <ilgu.hong@promise.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>