Date: Tue, 1 Apr 2014 22:21:56 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264026 - head/sys/dev/iscsi Message-ID: <201404012221.s31MLuFG015422@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Tue Apr 1 22:21:56 2014 New Revision: 264026 URL: http://svnweb.freebsd.org/changeset/base/264026 Log: Enable a KASSERT. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c Modified: head/sys/dev/iscsi/icl.c ============================================================================== --- head/sys/dev/iscsi/icl.c Tue Apr 1 22:03:03 2014 (r264025) +++ head/sys/dev/iscsi/icl.c Tue Apr 1 22:21:56 2014 (r264026) @@ -1225,10 +1225,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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404012221.s31MLuFG015422>