Page MenuHomeFreeBSD

Improve extents verification logic.

Authored by fsu on Apr 22 2021, 5:25 PM.



This change adds ability to do extents tree validation under ext2_vget() and simply detect inodes with extents corruptions.
The variable print_extents_walk allows to print extents tree, if needed.

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

fsu requested review of this revision.Apr 22 2021, 5:25 PM
fsu created this revision.
pfg requested changes to this revision.Apr 22 2021, 9:04 PM

Using all uppercase messages is bad, unless there is a panic.
Otherwise, LGTM.


No, please don''r have the filesystem scream.

This revision now requires changes to proceed.Apr 22 2021, 9:04 PM

Fix printf message as requested

This revision is now accepted and ready to land.Apr 23 2021, 4:06 PM
This revision was automatically updated to reflect the committed changes.