cvs commit: src/sys/kern vfs_subr.c

Don Lewis truckman at FreeBSD.org
Sun Oct 5 00:42:28 PDT 2003


On  5 Oct, Jeff Roberson wrote:
> jeff        2003/10/05 00:12:38 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             vfs_subr.c 
>   Log:
>    - Fix an XXX.  Check the error of vn_lock() in vflush().  Don't specify
>      LK_RETRY either, we don't want this vnode if it turns into another.
>    - Remove the code that checks the mount point after acquiring the lock
>      we are guaranteed to either fail or get the vnode that we wanted.
>   
>   Revision  Changes    Path
>   1.465     +2 -13     src/sys/kern/vfs_subr.c

What keeps this from spinning if some other thread holds the lock on the
first vnode on the list?


More information about the cvs-src mailing list