diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-09-03 16:24:43 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-09-07 18:36:32 +0200 |
| commit | b18f0f8334e6d7e4ed4baf1f404658537659cb57 (patch) | |
| tree | 67a6f4e5a76e5206787b49241027f9d7ced7f02e /scripts/Makefile.thinlto | |
| parent | 2a4513ab53361360329b7ad1496d666b7433289e (diff) | |
| download | linux-b18f0f8334e6d7e4ed4baf1f404658537659cb57.tar.gz linux-b18f0f8334e6d7e4ed4baf1f404658537659cb57.zip | |
btrfs: tree-checker: validate parent field for inode extref items
For a subvolume tree, the parent field of an inode extref item corresponds
to an inode number, and that must always be within the range:
[ BTRFS_FIRST_FREE_OBJECTID (256), BTRFS_LAST_FREE_OBJECTID (-256) ]
Add a check for that in check_inode_extref().
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
