git: HAMMER VFS - Fix HAMMER_INODE_XDIRTY flags / state assertion

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Nov 27 22:45:25 PST 2010


commit 2010e32f91e9947bbfa33c864a1bd32bef573074
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Nov 27 22:40:13 2010 -0800

    HAMMER VFS - Fix HAMMER_INODE_XDIRTY flags / state assertion
    
    * The HAMMER_INODE_XDIRTY flag was not being immediately synchronized
      with the state of ip->rec_tree in one case and the delay could create
      a window of opportunity where an assertion would get hit.
    
    * Remove the window of opportunity, the assertion no longer gets hit.
    
    Reported-by: YONETANI Tomokazu <qhwt.dfly at les.ath.cx>

Summary of changes:
 sys/vfs/hammer/hammer_object.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2010e32f91e9947bbfa33c864a1bd32bef573074


-- 
DragonFly BSD source repository





More information about the Commits mailing list