VFS messaging/interfacing work stage 7h/99: More firming up of stage 7.
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 7 Oct 2004 20:18:33 +0000 (20:18 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 7 Oct 2004 20:18:33 +0000 (20:18 +0000)
commitff793caa9d7ee299b6148006a5085510256d083f
tree3ee23e305573ab8804e9e55bcb7e71ec8f7b487a
parent9e18751d675ee8d48bcbaa629b5fc6b916572114
VFS messaging/interfacing work stage 7h/99: More firming up of stage 7.

Fix a vnode leak due to a missed change when the cache_lookup() semantics
were modified.  Hold the parent namecache record in naccess() when checking
for write perms on a directory.

Reported-by: walt <wa1ter@myrealbox.com>
sys/kern/vfs_cache.c
sys/kern/vfs_nlookup.c