git: kernel NFS - Fix another deadlock in the readdirplus code

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Feb 11 12:47:49 PST 2010


commit 94f2e6f24f393d773800d0f9c448969bc5b16cf0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Feb 11 12:44:21 2010 -0800

    kernel NFS - Fix another deadlock in the readdirplus code
    
    * Add vn_islocked_unlock() and vn_islocked_relock() to help NFS
      temporarily unlock a possibly-locked directory vnode when
      trying to instantiate readdirplus children under that directory.
    
    * Fixes a deadlock in NFS.

Summary of changes:
 sys/kern/vfs_vnops.c    |   39 +++++++++++++++++++++++++++++++++++++++
 sys/sys/vnode.h         |    2 ++
 sys/vfs/nfs/nfs_vnops.c |   13 +++++++++++++
 3 files changed, 54 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/94f2e6f24f393d773800d0f9c448969bc5b16cf0


-- 
DragonFly BSD source repository





More information about the Commits mailing list