tmpfs - remove most mp->mnt_token cases, kqueue filterops are MPSAFE (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 23 Oct 2013 15:12:29 +0000 (08:12 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 23 Oct 2013 15:12:29 +0000 (08:12 -0700)
commite195a8fe6f1b2ceded1b71e53cecb1fb2647965e
tree2ff6cd963623662e2ac856c3ca2995bd8640491c
parentc2a4b3e7855a8c84fabf4094721c01e3c570ef27
tmpfs - remove most mp->mnt_token cases, kqueue filterops are MPSAFE (2)

* Fix bug introduced in tmpfs_nrename().  The RB tree removal was not being
  guarded by the appropriate node lock.

* Also assert that the directory entry is still present.
sys/vfs/tmpfs/tmpfs_vnops.c