From: Joseph Gruher Date: Wed, 5 Jan 2011 21:00:20 +0000 (-0500) Subject: [SCSI] scsi_dh_alua: fix submit_stpg return X-Git-Tag: v2.6.39-rc1~440^2~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c66e9a5e6b0459c619562c5ad321071e2767faa;p=pandora-kernel.git [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 Signed-off-by: Ilgu Hong Signed-off-by: Mike Snitzer Signed-off-by: James Bottomley --- Reading git-diff-tree failed