diff options
author | David Sterba <dsterba@suse.com> | 2024-01-19 23:19:18 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:47 +0300 |
commit | 26b66d1d366a375745755ca7365f67110bbf6bd5 (patch) | |
tree | 92a8b2b8682806ed1cd29a5b22b02cc8725703a7 /scripts/gdb/linux/utils.py | |
parent | a4259b6c191119f270561c75eee840363f697c04 (diff) | |
download | linux-26b66d1d366a375745755ca7365f67110bbf6bd5.tar.xz |
btrfs: export: handle invalid inode or root reference in btrfs_get_parent()
The get_parent handler looks up a parent of a given dentry, this can be
either a subvolume or a directory. The search is set up with offset -1
but it's never expected to find such item, as it would break allowed
range of inode number or a root id. This means it's a corruption (ext4
also returns this error code).
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions