git: HAMMER VFS - Fix assertion with multi-volume setup

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 31 18:38:07 PDT 2012


commit 41a8e51772c65775f6b34c29ececa01178e633b9
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 31 18:35:33 2012 -0700

    HAMMER VFS - Fix assertion with multi-volume setup
    
    * The RB compare code for hammer_io was extracting the volume number
      from the wrong place, creating a situation where duplicate hammer_io's
      would sometimes be inserted in the RB tree (causing an assertion + panic).
    
    * Pull the volume number from a different field.
    
    Reported-by: Mark Saad <nonesuch at longcount.org>

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/41a8e51772c65775f6b34c29ececa01178e633b9


-- 
DragonFly BSD source repository





More information about the Commits mailing list