freebsd-nq/sys/gnu
Alexander Kabaev cb9ddc80ae 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.
2003-11-02 04:52:53 +00:00
..
dev/sound/pci This commit was generated by cvs2svn to compensate for changes in r115990, 2003-06-07 20:54:30 +00:00
ext2fs Take care not to call vput if thread used in corresponding vget 2003-11-02 04:52:53 +00:00
fs/ext2fs Take care not to call vput if thread used in corresponding vget 2003-11-02 04:52:53 +00:00