Have UFS set the vnode type to VBAD instead of VNON so it gets cleaned
commitc4182fc26463b5b3e428b8342e5b6404b29c5ba6
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 17 Jun 2007 05:08:52 +0000 (17 05:08 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 17 Jun 2007 05:08:52 +0000 (17 05:08 +0000)
tree938acf38523e6a8f6ff415432add45403cec8fab
parentbbf05c88bd3cce2e7e9bb85c06ca137fbbec77d6
Have UFS set the vnode type to VBAD instead of VNON so it gets cleaned
up by the syncer and flusher and isn't left hanging if e.g. you pull
a USB stick out of a machine with its filesystem still mounted.
sys/vfs/ufs/ffs_vfsops.c