K 10 svn:author V 3 kan K 8 svn:date V 27 2003-11-02T04:52:53.000000Z K 7 svn:log V 346 Take care not to call vput if thread used in corresponding vget wasn't curthread, i.e. when we receive a thread pointer to use as a function argument. Use VOP_UNLOCK/vrele in these cases. The only case there td != curthread known at the moment is boot() calling sync with thread0 pointer. This fixes the panic on shutdown people have reported. END