ADVFS: Adapt ftx_lock_init() for NetBSD and stick to krwlock_t
ADVFS: Convert globally from lock_setup() to rw_init()
BS: Adapt assert checking for lock held for NetBSD
BS: Adapt initialization of a mutex for NetBSD
BS: Adapt initialization of a mutex for NetBSD
BS: Drop lockinfo parameter from dyn_hashtable_init()
ADVFS: Redeclare ftx_unlock as extern
BS: Remove redefinition of DMNTBL_LOCK_WRITE and DMNTBL_UNLOCK
ADVFS: Change globally MS_SMP_ASSERT to KASSERT
ADVFS: Change globally MS_DBG_ASSERT to KDASSERT
BS: Change CHECK_ACC_CLEAN from a macro to function and adapt for NetBSD
MSFS: Change FILESET_WRITE_LOCK, READ_LOCK and UNLOCK to inline functions
MSFS: Change SS_WRITE_LOCK, UNLOCK, INIT and DESTROY to inline functions
ADVFS: Change lock_terminate() remants to rw_destroy()
ADVFS: Fix parameter type of DDLACTIVE_ functions
ADVFS: Change lock_done() remants to rw_exit()
BS: Change DELLIST_LOCK_WRITE and UNLOCK to inline functions
MSFS: lock_write_done() is an equivalent of rw_exit()
ADVFS: Change last remnants of lock_write() to rw_enter()
BS: Fix parameter of DELLIST_LOCK_WRITE and UNLOCK