DragonFlyBSD/src ddb4155sys/vfs/hammer2 hammer2_vfsops.c

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
DeltaFile
+3-2sys/vfs/hammer2/hammer2_vfsops.c
+3-21 files

UnifiedSplitRaw