DragonFly BSD
DragonFly commits List (threaded) for 2010-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Feb 2010 00:13:24 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]