summaryrefslogtreecommitdiff
path: root/drivers/amba
diff options
context:
space:
mode:
authorJoseph Gruher <joseph.r.gruher@intel.com>2011-01-05 21:00:20 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2011-01-24 17:11:58 (GMT)
commit7c66e9a5e6b0459c619562c5ad321071e2767faa (patch)
tree6262074d4bad042fe039bf11e84423e9908305e3 /drivers/amba
parentaa023b8b2fc09baeeb27af959ab38a8d684946bf (diff)
downloadlinux-fsl-qoriq-7c66e9a5e6b0459c619562c5ad321071e2767faa.tar.xz
[SCSI] scsi_dh_alua: fix submit_stpg return
submit_stpg() will always return failure so alua_activate() will report failure via dm-multipath callback function. Even though the stpg fired successfuly dm-multipath does not know and always fails to change the valid path. By returning SCSI_DH_OK we're now skipping alua_activate()'s call to activate_complete 'fn'. But this is fine because stpg_endio() will call it via h->callback_fn(). 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>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions