From 8d0f61f71a7ac6419a059b1d44b960128ed3bbfc Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 18 Jan 2011 14:05:56 +0000 Subject: [PATCH] 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 --- scst/src/scst_targ.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 50e961e23..b5077fc1f 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -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);