Page MenuHomeFreeBSD

Improve extents verification logic
ClosedPublic

Authored by fsu on Dec 10 2021, 5:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 8:46 AM
Unknown Object (File)
Fri, Nov 29, 7:45 AM
Unknown Object (File)
Mon, Nov 25, 8:00 AM
Unknown Object (File)
Nov 22 2024, 5:14 PM
Unknown Object (File)
Nov 20 2024, 8:13 PM
Unknown Object (File)
Nov 8 2024, 1:37 AM
Unknown Object (File)
Nov 6 2024, 9:46 PM
Unknown Object (File)
Nov 1 2024, 4:41 AM
Subscribers

Details

Summary

Add functionality for extents validation inside the filesystem extents block.
The main logic is implemented under ext4_validate_extent_entries() function, which verifies extents or extents indexes depending of extent depth value.

This PR is more robust fix for issue introduced in:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259112

Test Plan

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

fsu requested review of this revision.Dec 10 2021, 5:23 PM
This revision is now accepted and ready to land.Dec 11 2021, 12:37 AM
This revision was automatically updated to reflect the committed changes.