git: kernel - Try to fix procfs readdir race

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 16 12:32:56 PST 2011


commit ccd6bbb9892063808756ed786554eebea3400eb5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Nov 16 12:29:20 2011 -0800

    kernel - Try to fix procfs readdir race
    
    * procfs_allocvp() may have a pfs/vnode race which the vget() may not
      completely address.  For now make sure we can't race a vnode teardown
      when attempting to acquire a vnode with vget().

Summary of changes:
 sys/vfs/procfs/procfs_subr.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccd6bbb9892063808756ed786554eebea3400eb5


-- 
DragonFly BSD source repository





More information about the Commits mailing list