aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2024-01-19 20:19:18 +0000
committerDavid Sterba <[email protected]>2024-03-04 15:24:47 +0000
commit26b66d1d366a375745755ca7365f67110bbf6bd5 (patch)
tree92a8b2b8682806ed1cd29a5b22b02cc8725703a7 /fs/btrfs/delayed-inode.c
parentbtrfs: handle invalid extent item reference found in check_committed_ref() (diff)
downloadkernel-26b66d1d366a375745755ca7365f67110bbf6bd5.tar.gz
kernel-26b66d1d366a375745755ca7365f67110bbf6bd5.zip
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 <[email protected]> Reviewed-by: Anand Jain <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions