diff options
Diffstat (limited to 'drivers/scsi/libiscsi.c')
-rw-r--r-- | drivers/scsi/libiscsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c index 784a935fad4a..79bc49fd7f12 100644 --- a/drivers/scsi/libiscsi.c +++ b/drivers/scsi/libiscsi.c | |||
@@ -1383,11 +1383,12 @@ static void fail_all_commands(struct iscsi_conn *conn, unsigned lun, | |||
1383 | } | 1383 | } |
1384 | } | 1384 | } |
1385 | 1385 | ||
1386 | static void iscsi_suspend_tx(struct iscsi_conn *conn) | 1386 | void iscsi_suspend_tx(struct iscsi_conn *conn) |
1387 | { | 1387 | { |
1388 | set_bit(ISCSI_SUSPEND_BIT, &conn->suspend_tx); | 1388 | set_bit(ISCSI_SUSPEND_BIT, &conn->suspend_tx); |
1389 | scsi_flush_work(conn->session->host); | 1389 | scsi_flush_work(conn->session->host); |
1390 | } | 1390 | } |
1391 | EXPORT_SYMBOL_GPL(iscsi_suspend_tx); | ||
1391 | 1392 | ||
1392 | static void iscsi_start_tx(struct iscsi_conn *conn) | 1393 | static void iscsi_start_tx(struct iscsi_conn *conn) |
1393 | { | 1394 | { |