svn commit: r265499 - stable/10/sys/dev/iscsi
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed May 7 06:41:34 UTC 2014
Author: trasz
Date: Wed May 7 06:41:33 2014
New Revision: 265499
URL: http://svnweb.freebsd.org/changeset/base/265499
Log:
MFC r264026:
Enable a KASSERT.
Sponsored by: The FreeBSD Foundation
Modified:
stable/10/sys/dev/iscsi/icl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/iscsi/icl.c
==============================================================================
--- stable/10/sys/dev/iscsi/icl.c Wed May 7 06:38:19 2014 (r265498)
+++ stable/10/sys/dev/iscsi/icl.c Wed May 7 06:41:33 2014 (r265499)
@@ -1222,10 +1222,7 @@ icl_conn_close(struct icl_conn *ic)
KASSERT(TAILQ_EMPTY(&ic->ic_to_send),
("destroying session with non-empty send queue"));
- /*
- * XXX
- */
-#if 0
+#ifdef DIAGNOSTIC
KASSERT(ic->ic_outstanding_pdus == 0,
("destroying session with %d outstanding PDUs",
ic->ic_outstanding_pdus));
More information about the svn-src-all
mailing list