diff options
| author | Qu Wenruo <wqu@suse.com> | 2025-09-16 02:04:05 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-02 16:18:04 +0300 |
| commit | 1bc53d252a74cd11b737e501f9a99a37cab0cc59 (patch) | |
| tree | 4b536dc29a0d404999769cff1ab59d641917ff17 /scripts/gdb/linux/xarray.py | |
| parent | 3bc6f92c663f77627bcd384a371a1290e7e6162b (diff) | |
| download | linux-1bc53d252a74cd11b737e501f9a99a37cab0cc59.tar.xz | |
btrfs: tree-checker: add inode extref checks
[ Upstream commit aab9458b9f0019e97fae394c2d6d9d1a03addfb3 ]
Like inode refs, inode extrefs have a variable length name, which means
we have to do a proper check to make sure no header nor name can exceed
the item limits.
The check itself is very similar to check_inode_ref(), just a different
structure (btrfs_inode_extref vs btrfs_inode_ref).
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions
