Date: Wed, 17 Jun 2009 18:55:29 +0000 (UTC) From: Sean Nicholas Barkas <snb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ufs ufs_dirhash.c Message-ID: <200906171855.n5HItomU098448@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
snb 2009-06-17 18:55:29 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_dirhash.c Log: SVN rev 194387 on 2009-06-17 18:55:29Z by snb 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) Revision Changes Path 1.32 +11 -11 src/sys/ufs/ufs/ufs_dirhash.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906171855.n5HItomU098448>