David Sterba 26b66d1d36 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>
2024-03-04 16:24:47 +01:00
..
2024-03-04 16:24:46 +01:00
2023-01-19 09:24:27 +01:00
2023-10-30 10:42:06 -10:00
2023-10-30 10:42:06 -10:00
2024-03-04 16:24:46 +01:00
2024-03-04 16:24:46 +01:00
2023-08-24 16:20:18 -07:00
2024-03-04 16:24:46 +01:00
2024-03-04 16:24:46 +01:00
2024-03-04 16:24:46 +01:00
2024-01-22 13:29:42 -08:00
2024-03-04 16:24:46 +01:00
2023-12-15 20:27:04 +01:00
2024-03-04 16:24:46 +01:00
2024-03-04 16:24:46 +01:00
2023-12-15 23:00:04 +01:00
2024-03-04 16:24:46 +01:00
2024-01-11 13:58:04 -08:00