Make sure the vnode is unlocked across a dev_dclose() call, otherwise a
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 3 Sep 2005 08:01:32 +0000 (08:01 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 3 Sep 2005 08:01:32 +0000 (08:01 +0000)
commit53994a384a8c625817753270be4f2c0e23e3df05
tree90234f543336cc839ef38a157438e1ce32097742
parent513da8e7ff8ad7aa83fe1e88f7e933885fa5ce1c
Make sure the vnode is unlocked across a dev_dclose() call, otherwise a
stuck tty can deadlock the filesystem (e.g. if you try to ls -la /dev).

VOP_CLOSE() may or may not be called with the vnode locked, so keep track
of it.
sys/vfs/specfs/spec_vnops.c