Page MenuHomeFreeBSD

Improve extents verification logic
ClosedPublic

Authored by fsu on Dec 10 2021, 5:23 PM.
Tags
None
Referenced Files
F84429423: D33375.diff
Thu, May 23, 6:35 PM
Unknown Object (File)
Fri, May 17, 11:27 PM
Unknown Object (File)
Mon, Apr 29, 6:33 AM
Unknown Object (File)
Fri, Apr 26, 9:09 AM
Unknown Object (File)
Fri, Apr 26, 5:53 AM
Unknown Object (File)
Jan 24 2024, 3:12 AM
Unknown Object (File)
Dec 22 2023, 9:43 PM
Unknown Object (File)
Dec 16 2023, 3:37 PM
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 Not Applicable
Unit
Tests Not Applicable

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.