git: DragonFly_RELEASE_5_4 hammer2 - Fix panic on corrupt root inode on mount

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 19 21:43:23 PDT 2019


commit ddb4155da22062d7c526f7d24a0ee8cb81f74488
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 19 21:40:24 2019 -0700

    hammer2 - Fix panic on corrupt root inode on mount
    
    * If the root inode is corrupt at mount time H2 was panicing
      instead of cleanly aborting.  Fixed by adding missing initialization.
    
    * This case can occur when the device is partially overwritten by
      a dd or another filesystem.  Redundant volume headers may still alow
      H2 to find one, but the iroot might reside at a lower block number and
      already have been blown away.
    
    Reported-by: BJoe / Bug #3181

Summary of changes:
 sys/vfs/hammer2/hammer2_vfsops.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list