hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/include/scsi/libiscsi.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * iSCSI lib definitions
34 *
....@@ -5,20 +6,6 @@
56 * Copyright (C) 2004 - 2006 Mike Christie
67 * Copyright (C) 2004 - 2005 Dmitry Yusupov
78 * Copyright (C) 2004 - 2005 Alex Aizman
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
229 */
2310 #ifndef LIBISCSI_H
2411 #define LIBISCSI_H
....@@ -434,6 +421,7 @@
434421 extern void iscsi_conn_stop(struct iscsi_cls_conn *, int);
435422 extern int iscsi_conn_bind(struct iscsi_cls_session *, struct iscsi_cls_conn *,
436423 int);
424
+extern void iscsi_conn_unbind(struct iscsi_cls_conn *cls_conn, bool is_active);
437425 extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err);
438426 extern void iscsi_session_failure(struct iscsi_session *session,
439427 enum iscsi_err err);