Files
mirror_zfs/cmd
buzzingwires 5f7253ca11 Refactor zhack label repair and fix -c regression on nonzero TXG
This commit fixes a likely regression introduced by 64db435 where the
checksum repair functionality (`-c` or default behavior) will perform
checks and access data associated with the newer undetach (`-u`)
functionality, resulting in a failure when an uberblock's TXG is not 0
as required by `-u` but not `-c`

Additionally, code is refactored for better separation of tasks.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: buzzingwires <buzzingwires@outlook.com>
Closes #17732
2025-09-17 16:33:59 -07:00
..
2025-03-13 17:56:27 -07:00
2025-09-11 15:58:59 -07:00
2025-09-12 15:05:02 -07:00
2025-09-09 17:04:01 -07:00
2025-03-13 17:56:27 -07:00
2025-09-10 15:01:20 -07:00
2025-03-13 17:56:27 -07:00
2025-09-10 15:01:20 -07:00
2025-03-13 17:56:27 -07:00
2025-03-13 17:56:27 -07:00