freebsd-dev/cddl
Pawel Jakub Dawidek 0356e5fcb5 MFp4 180933:
Initialize rw_count properly so that zdb(8) doesn't trigger assertion in
rw_enter():

	ASSERT(rwlp->rw_count == 0);

While here, assert that rw_count is 0 when destroying the lock.

MFC after:	1 week
2010-07-14 06:37:43 +00:00
..
compat/opensolaris Merge ZFS version 15 and almost all OpenSolaris bugfixes referenced 2010-07-12 23:49:04 +00:00
contrib/opensolaris MFp4 180933: 2010-07-14 06:37:43 +00:00
lib Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00
sbin Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00
usr.bin Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00
usr.sbin Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00
Makefile Apply a set of style.Makefile(5) changes to src/cddl/ makefiles. 2007-04-16 21:20:26 +00:00
Makefile.inc Remove manual .includes in cddl Makefiles 2010-03-02 19:04:07 +00:00