summaryrefslogtreecommitdiffstats
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2007-12-13 12:43:26 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-11 18:28:28 -0600
commitb3a7ea8d50f6028964b468d13a095dfb2508b2fb (patch)
tree47cc070e1761208e7e6448a0eb8ca3567e27a462 /include/scsi/libiscsi.h
parent6320377fd94316e58f75d0be6f6e7a644950a4ee (diff)
downloadlinux-b3a7ea8d50f6028964b468d13a095dfb2508b2fb.tar.gz
linux-b3a7ea8d50f6028964b468d13a095dfb2508b2fb.tar.bz2
linux-b3a7ea8d50f6028964b468d13a095dfb2508b2fb.zip
[SCSI] libiscsi: do not block session during logout
There is not need to block the session during logout. Since we are going to fail the commands that were blocked just fail them immediately instead. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r--include/scsi/libiscsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 4b3e3c15121a..d68f74523f2e 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -346,6 +346,8 @@ extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
extern int iscsi_verify_itt(struct iscsi_conn *, struct iscsi_hdr *,
uint32_t *);
extern void iscsi_requeue_ctask(struct iscsi_cmd_task *ctask);
+extern void iscsi_free_mgmt_task(struct iscsi_conn *conn,
+ struct iscsi_mgmt_task *mtask);
/*
* generic helpers