git: kernel - Fix bug in cahce_fromdvp() as uesd by NFS's readdi

看板DFBSD_commit作者時間16年前 (2010/02/09 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 269a08e4bbfd79e2f4d7299e7f652c6ca8cc12a3 Author: Matthew Dillon <dillon@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
文章代碼(AID): #1BSHs7Kh (DFBSD_commit)