summaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2011-09-13 23:09:01 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-24 03:20:38 +0000
commit82f1c8a4e7739eae9f1c32c2c419efdc19b8af41 (patch)
treee4b9141c59cbc1402b96fb34003205fe90d362df /drivers/target/iscsi
parente6a2573f1f5d66f0456c433afdfc63f33fdf9008 (diff)
downloadblackbird-op-linux-82f1c8a4e7739eae9f1c32c2c419efdc19b8af41.tar.gz
blackbird-op-linux-82f1c8a4e7739eae9f1c32c2c419efdc19b8af41.zip
target: push session reinstatement out of transport_generic_free_cmd
Push session reinstatement out of transport_generic_free_cmd into the only caller that actually needs it. Clean up transport_generic_free_cmd a bit, and remove the useless comment. I'd love to add a more useful kerneldoc comment for it, but as this point I'm still a bit confused in where it stands in the command release stack. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi')
-rw-r--r--drivers/target/iscsi/iscsi_target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c
index 6a4ea29c2f36..7dc2cfe9431c 100644
--- a/drivers/target/iscsi/iscsi_target.c
+++ b/drivers/target/iscsi/iscsi_target.c
@@ -3547,7 +3547,7 @@ get_immediate:
iscsit_release_cmd(cmd);
else
transport_generic_free_cmd(&cmd->se_cmd,
- 1, 0);
+ 1);
goto get_immediate;
case ISTATE_SEND_NOPIN_WANT_RESPONSE:
spin_unlock_bh(&cmd->istate_lock);
OpenPOWER on IntegriCloud