diff options
author | mav <mav@FreeBSD.org> | 2015-08-10 11:52:54 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-08-10 11:52:54 +0000 |
commit | fa26a290636c09c75688724a15b3624e6c44c8e4 (patch) | |
tree | 5e2bb4fa00d5280a719bb86bdf0b935513d64ea0 /sys/cddl | |
parent | 2eec834729f4098771df0bac9f064786e2efca04 (diff) | |
download | FreeBSD-src-fa26a290636c09c75688724a15b3624e6c44c8e4.zip FreeBSD-src-fa26a290636c09c75688724a15b3624e6c44c8e4.tar.gz |
Fix r286570 build with debug.
Diffstat (limited to 'sys/cddl')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c index e13699f..d66f9cf 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c @@ -1858,8 +1858,10 @@ arc_change_state(arc_state_t *new_state, arc_buf_hdr_t *hdr, * 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 |