--- - branch: MAIN date: Sun Mar 8 00:23:59 UTC 2020 files: - new: '1.38' old: '1.37' path: src/sys/ufs/ufs/ufs_dirhash.c pathrev: src/sys/ufs/ufs/ufs_dirhash.c@1.38 type: modified id: 20200308T002359Z.ccb7aa103cac737144f073ddd36ff19ea72e9b82 log: | in ufsdirhash_free(), only examine dh->dh_onlist after taking the dirhashlist lock. if we skip the lock then we might see that dh_onlist is zero while ufsdirhash_recycle() is still working on the dirhash. the symptom I saw was that ufsdirhash_free() would try to destroy the dh_lock mutex while it was still held. module: src subject: 'CVS commit: src/sys/ufs/ufs' unixtime: '1583627039' user: chs