git: hammer2 - Fix panic on corrupt root inode on mount
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Tue Mar 19 21:43:10 PDT 2019
    
    
  
commit 5c883852e0bdfc624ce0449fd6ac7b8da7ee1447
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/5c883852e0bdfc624ce0449fd6ac7b8da7ee1447
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list