Have UFS set the vnode type to VBAD instead of VNON so it gets cleaned
commit37d99483a7f5a1fdd84b420484e51a6b4bdfacc2
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)
treeaed1a4b1c3d98dd348bd1e98a7beeec0938f7daf
parente33fba8085d4e1377b2404f1da60bcc5b2239326
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