From 79b1ec0048dfe664e95e8f3776bc366b47617f2d Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Wed, 21 May 2008 15:54:02 -0500 Subject: [PATCH] --- yaml --- r: 101516 b: refs/heads/master c: 5af3e91d232b7e022f258202f72ebb79b8b0c706 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/scsi/libiscsi.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8deafdb322ca..c547ff41f07d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d91e209fb21fb9cc765729d4c6a85a9fb6c9187 +refs/heads/master: 5af3e91d232b7e022f258202f72ebb79b8b0c706 diff --git a/trunk/include/scsi/libiscsi.h b/trunk/include/scsi/libiscsi.h index 4e1c14f20ddd..f54aeb1e8ae3 100644 --- a/trunk/include/scsi/libiscsi.h +++ b/trunk/include/scsi/libiscsi.h @@ -369,9 +369,11 @@ extern int iscsi_conn_bind(struct iscsi_cls_session *, struct iscsi_cls_conn *, extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err); extern int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn, enum iscsi_param param, char *buf); +extern void iscsi_suspend_tx(struct iscsi_conn *conn); #define iscsi_conn_printk(prefix, _c, fmt, a...) \ - iscsi_cls_conn_printk(prefix, _c->cls_conn, fmt, ##a) + iscsi_cls_conn_printk(prefix, ((struct iscsi_conn *)_c)->cls_conn, \ + fmt, ##a) /* * pdu and task processing