git: HAMMER VFS - Fix umount panic related to volume flush

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 15 15:22:57 PST 2010


commit 544f91bfac8dc14f068459a6d169f95efd3adafe
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 15 15:20:41 2010 -0800

    HAMMER VFS - Fix umount panic related to volume flush
    
    * A volume undergoing I/O as-of the time of a umount can recurse within
      hammer_io_release() due to improper ref-count handling.
    
    * Properly reference and flus hthe volume during umount instead of
      trying to call hammer_io_release() directly.
    
    Reported-by: Jan Lentfer <Jan.Lentfer at web.de>

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/544f91bfac8dc14f068459a6d169f95efd3adafe


-- 
DragonFly BSD source repository





More information about the Commits mailing list