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