kernel - TMPFS - Stabilization pass, fix vnode list corruption
commit2706b587d778424a5e0d858706368aa139c1275c
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 14 Feb 2010 01:31:19 +0000 (13 17:31 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 14 Feb 2010 01:31:19 +0000 (13 17:31 -0800)
tree0f7d41ef59168f570e03b3784986ed92b80f3ea4
parent4f51b8ae58b217a66b7097fc87564f6bf70aa2c4
kernel - TMPFS - Stabilization pass, fix vnode list corruption

* Clean up tn_size when destroying a VLNK node.

* Interlock the vnode while holding the node lock before calling
  vget() to prevent it from being ripped out from under the vget().

  Then re-test that the relationship between the tmpfs node and
  vnode holds.

* Minor formatting cleanup in the same area.
sys/vfs/tmpfs/tmpfs_subr.c