diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-09-03 16:16:32 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-09-07 18:36:23 +0200 |
| commit | 2a4513ab53361360329b7ad1496d666b7433289e (patch) | |
| tree | 5eef44ea559493c03d336a0869d70e51f71b69d9 /scripts/Makefile.thinlto | |
| parent | 36f9aafa46f5b9fecf92d9218c5574f1ef6b4907 (diff) | |
| download | linux-stable-2a4513ab53361360329b7ad1496d666b7433289e.tar.gz linux-stable-2a4513ab53361360329b7ad1496d666b7433289e.zip | |
btrfs: tree-checker: validate key offset for inode ref keys
For a subvolume tree, the offset of an inode ref key 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_ref(). Sashiko complained about such
check missing in another unrelated patch.
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
