summaryrefslogtreecommitdiffstats
path: root/sys/kern/makesyscalls.sh
diff options
context:
space:
mode:
authorsnb <snb@FreeBSD.org>2009-06-17 18:55:29 +0000
committersnb <snb@FreeBSD.org>2009-06-17 18:55:29 +0000
commitaf1efe049038fd7911528165184d811f221f8513 (patch)
treea616f7247108a111e6bbaafa2b1b787090fa9e5c /sys/kern/makesyscalls.sh
parent55cc3fe596da22b77d532e3c47fec3a5a67c3867 (diff)
downloadFreeBSD-src-af1efe049038fd7911528165184d811f221f8513.zip
FreeBSD-src-af1efe049038fd7911528165184d811f221f8513.tar.gz
Keep dirhash tailq locked throughout the entirety of ufsdirhash_destroy() to fix
a potential race pointed out by pjd. Also use TAILQ_FOREACH_SAFE to iterate over dirhashes in ufsdirhash_lowmem(), so that we can continue iterating even after a dirhash is destroyed. Suggested by: pjd Tested by: pho Approved by: dwmalone (mentor)
Diffstat (limited to 'sys/kern/makesyscalls.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud