diff options
author | trasz <trasz@FreeBSD.org> | 2014-05-07 06:41:33 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-05-07 06:41:33 +0000 |
commit | 422c729ba778a6092c89c98c1a44610ebb69857f (patch) | |
tree | 843ef0bb11d1d61aaae26efff027df7fca67ecdd /sys/dev | |
parent | c0421f43792049babe796c8b27f72577d2e3cb40 (diff) | |
download | FreeBSD-src-422c729ba778a6092c89c98c1a44610ebb69857f.zip FreeBSD-src-422c729ba778a6092c89c98c1a44610ebb69857f.tar.gz |
MFC r264026:
Enable a KASSERT.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/iscsi/icl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/iscsi/icl.c b/sys/dev/iscsi/icl.c index bfe27a8..62f2dd8 100644 --- a/sys/dev/iscsi/icl.c +++ b/sys/dev/iscsi/icl.c @@ -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)); |