Stephan Uphoff 3fafa27b27 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
2005-09-22 15:34:15 +00:00
..
2005-07-08 15:06:58 +00:00
2005-06-30 19:01:26 +00:00
2005-09-06 11:09:18 +00:00
2005-08-28 05:38:40 +00:00
2005-09-18 01:32:09 +00:00
2005-05-06 02:50:00 +00:00
2005-03-14 06:51:29 +00:00
2005-07-08 15:06:58 +00:00