Module Name: src Committed By: jdolecek Date: Mon Dec 10 19:29:41 UTC 2018
Modified Files: src/sys/ufs/ffs: ffs_alloc.c ffs_inode.c ffs_vfsops.c ffs_wapbl.c src/sys/ufs/ufs: ufs_inode.c ufs_readwrite.c ufs_vnops.c ufs_wapbl.h Log Message: make UFS_WAPBL_JLOCK_ASSERT() #ifdef DIAGNOSTIC, same as the underlying function KASSERT(), so that it actually does something; fix code using it to actually pass correct params, so that it compiles remove UFS_WAPBL_JUNLOCK_ASSERT(), as that is inherently racy (it's okay on those places if the rwlock is held by other lwp); depend on the RW_ASSERT()/LOCKDEBUG inside rw_enter() to catch the case with wapbl rwlock held by current lwp To generate a diff of this commit: cvs rdiff -u -r1.161 -r1.162 src/sys/ufs/ffs/ffs_alloc.c cvs rdiff -u -r1.124 -r1.125 src/sys/ufs/ffs/ffs_inode.c cvs rdiff -u -r1.359 -r1.360 src/sys/ufs/ffs/ffs_vfsops.c cvs rdiff -u -r1.42 -r1.43 src/sys/ufs/ffs/ffs_wapbl.c cvs rdiff -u -r1.103 -r1.104 src/sys/ufs/ufs/ufs_inode.c cvs rdiff -u -r1.121 -r1.122 src/sys/ufs/ufs/ufs_readwrite.c cvs rdiff -u -r1.239 -r1.240 src/sys/ufs/ufs/ufs_vnops.c cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/ufs/ufs_wapbl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.