sbin/fsck_hammer2: Add reconstruct.c to force reconstruct filesystem
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 18 Oct 2019 15:54:43 +0000 (00:54 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 18 Oct 2019 15:54:43 +0000 (00:54 +0900)
commit2b7e4566d33449e864c2d1466d9ba484fff1e6f4
treed7d074dff378be15a369e9aaebdc49beebbc9c8d
parent94175e22398938214c30a07d5280a2d98abec0ab
sbin/fsck_hammer2: Add reconstruct.c to force reconstruct filesystem

For testing.
This doesn't get compiled by Makefile.

Recursively reconstruct checksums if ondisk mismatch is found.
Note that this isn't for filesystem recovery.
sbin/fsck_hammer2/reconstruct.c [new file with mode: 0644]