svn commit: r286576 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Alexander Motin
mav at FreeBSD.org
Mon Aug 10 11:52:55 UTC 2015
Author: mav
Date: Mon Aug 10 11:52:54 2015
New Revision: 286576
URL: https://svnweb.freebsd.org/changeset/base/286576
Log:
Fix r286570 build with debug.
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Mon Aug 10 11:30:07 2015 (r286575)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Mon Aug 10 11:52:54 2015 (r286576)
@@ -1858,8 +1858,10 @@ arc_change_state(arc_state_t *new_state,
* L2 headers should never be on the L2 state list since they don't
* have L1 headers allocated.
*/
+#ifdef illumos
ASSERT(list_is_empty(&arc_l2c_only->arcs_list[ARC_BUFC_DATA]) &&
list_is_empty(&arc_l2c_only->arcs_list[ARC_BUFC_METADATA]));
+#endif
}
void
More information about the svn-src-all
mailing list