summaryrefslogtreecommitdiff
path: root/kernel/libiscsi.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2007-08-16 16:02:15 -0500
committerMike Christie <michaelc@cs.wisc.edu>2007-08-16 16:02:15 -0500
commit0b6bb0da7730fc08587acdf5a51666542be47843 (patch)
tree721faac7078c748c25502b733f53255fcbc158a2 /kernel/libiscsi.h
parent3b3e9382fc1af21a46d4f249a91d0d77219ef144 (diff)
downloadopen-iscsi-0b6bb0da7730fc08587acdf5a51666542be47843.tar.gz
Do not block the session on logout
Instead of blocking the session during logout just fail incoming commands right away.
Diffstat (limited to 'kernel/libiscsi.h')
-rw-r--r--kernel/libiscsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/libiscsi.h b/kernel/libiscsi.h
index dbea6b4..b4a082f 100644
--- a/kernel/libiscsi.h
+++ b/kernel/libiscsi.h
@@ -331,6 +331,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