DragonFlyBSD/src 28efb08sys/vfs/hammer2 hammer2_vfsops.c

hammer2 - Fix flush issues with unmounted PFSs and shutdown panic

* Fix flush and shutdown issues when unmounted PFS's are present.
  These PFSs do not get flushed by the filesystem sync code because
  they haven't been mounted, but may still contain modified or
  referenced chains, as well as sideq'd inodes.

* Fix some other cleanup issues when unmounting.  Clean out vchain.pmp
  and fchain.pmp for the spmp during the unmount scan, which fixes a
  hammer2 pfs_memory_*() panic.

Reported-by: yellowrabbit2010
DeltaFile
+19-1sys/vfs/hammer2/hammer2_vfsops.c
+19-11 files

UnifiedSplitRaw