Call of scst_nexus_loss() here is wrong and not needed, because it will be called later in scst_mgmt_affected_cmds_done()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2011-01-18 14:05:56 +00:00
parent a31a60aebf
commit 8d0f61f71a

View File

@@ -5390,9 +5390,6 @@ static int scst_abort_all_nexus_loss_tgt(struct scst_mgmt_cmd *mcmd,
__scst_abort_task_set(mcmd, tgt_dev);
if (nexus_loss)
scst_nexus_loss(tgt_dev, true);
if (mcmd->sess == tgt_dev->sess) {
rc = scst_call_dev_task_mgmt_fn(
mcmd, tgt_dev, 0);