git: kernel - Fix bug in cahce_fromdvp() as uesd by NFS's readdirplus
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Feb 9 00:15:00 PST 2010
commit 269a08e4bbfd79e2f4d7299e7f652c6ca8cc12a3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Feb 9 00:05:55 2010 -0800
kernel - Fix bug in cahce_fromdvp() as uesd by NFS's readdirplus
* cache_fromdvp() is supposed to return a held ncp for the directory
vnode's namecache entry if one is present and makeit is 0. It
was returning NULL instead.
* NFS readdirplus was kprintf()ing debug info unconditionally when
it was able to successfully construct a vnode. #if 0 out the
kprintf().
Summary of changes:
sys/kern/vfs_cache.c | 11 +++++++++++
sys/vfs/nfs/nfs_vnops.c | 8 +++++---
2 files changed, 16 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/269a08e4bbfd79e2f4d7299e7f652c6ca8cc12a3
--
DragonFly BSD source repository
More information about the Commits
mailing list