cvs commit: src/sys/kern kern_shutdown.c

Scott Long scottl at samsco.org
Thu Sep 22 08:41:06 PDT 2005


Stephan Uphoff wrote:

> ups         2005-09-22 15:34:16 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_shutdown.c 
>   Log:
>   Don't pretend to be thread0 when calling sync().
>   It confuses the lock manager since in some places thread0 is
>   then used for vnode locking while curthread is used for vnode unlocking.
>   
>   Found by:       Yahoo!
>   Reviewed by:    ps@,jhb@
>   MFC after:      3 days
>   
>   Revision  Changes    Path
>   1.176     +2 -2      src/sys/kern/kern_shutdown.c

Nice!

Scott


More information about the cvs-src mailing list