git: kernel - TMPFS - Stabilization pass, fix vnode list corruption

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Feb 13 17:35:50 PST 2010


commit 2706b587d778424a5e0d858706368aa139c1275c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Feb 13 17:31:19 2010 -0800

    kernel - TMPFS - Stabilization pass, fix vnode list corruption
    
    * Clean up tn_size when destroying a VLNK node.
    
    * Interlock the vnode while holding the node lock before calling
      vget() to prevent it from being ripped out from under the vget().
    
      Then re-test that the relationship between the tmpfs node and
      vnode holds.
    
    * Minor formatting cleanup in the same area.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c |   60 +++++++++++++++++++++++++++-----------------
 1 files changed, 37 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2706b587d778424a5e0d858706368aa139c1275c


-- 
DragonFly BSD source repository





More information about the Commits mailing list