HomeFreeBSD

lib/libzpool/kernel.c: Assert no owners in rw_destroy()

Description

lib/libzpool/kernel.c: Assert no owners in rw_destroy()

This is intended to cause ztest to fail when rw_destroy() is called on a
rwlock that has owners.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2330

Details

Provenance
Richard Yao <ryao@gentoo.org>Authored on Apr 30 2014, 12:47 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 23 2014, 5:34 PM
Parents
rG485c581c41c4: Fix function call with uninitialized value in vdev_inuse
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG843b4aad504b: lib/libzpool/kernel.c: Assert no owners in rw_destroy() (authored by Richard Yao <ryao@gentoo.org>).Sep 23 2014, 5:34 PM