cvs commit: src/sys/ufs/ufs ufs_dirhash.c

John Baldwin jhb at freebsd.org
Mon Sep 22 22:29:30 UTC 2008


On Monday 22 September 2008 04:53:22 pm John Baldwin wrote:
> jhb         2008-09-22 20:53:22 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/ufs/ufs          ufs_dirhash.c 
>   Log:
>   SVN rev 183280 on 2008-09-22 20:53:22Z by jhb
>   
>   Close a race between concurrent calls to ufsdirhash_recycle() and
>   ufsdirhash_free() introduced in my last commit by removing the dirhash
>   about to be free'd in ufsdirhash_free() from the global dirhash list
>   before dropping the sx lock.
>   
>   Tested by:      kris

Aside from some pending patches to better handle errors during a umount -f 
case (albeit an edge case), I think UFS is ok to do shared lookups now.

-- 
John Baldwin


More information about the cvs-src mailing list