kernel - Fix mount bug caught by assertion
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 26 Feb 2013 17:40:55 +0000 (09:40 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 26 Feb 2013 17:40:55 +0000 (09:40 -0800)
commit8a70992d63e6145c71dc02b5995007231613e9d2
tree9dd5f21b8b633b8160c88878bd8c19bf6d500193
parent2920775bed4fe3f85c281f954073f85c4a47a0b4
kernel - Fix mount bug caught by assertion

* A recently added assertion caught a bug in the mount code where
  a namecache entry was not being properly locked.

* Fix the bug in checkdirs() (called by the mount code).
sys/kern/vfs_syscalls.c