diff options
author | snb <snb@FreeBSD.org> | 2009-06-17 18:55:29 +0000 |
---|---|---|
committer | snb <snb@FreeBSD.org> | 2009-06-17 18:55:29 +0000 |
commit | af1efe049038fd7911528165184d811f221f8513 (patch) | |
tree | a616f7247108a111e6bbaafa2b1b787090fa9e5c /sys/kern/makesyscalls.sh | |
parent | 55cc3fe596da22b77d532e3c47fec3a5a67c3867 (diff) | |
download | FreeBSD-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