aboutsummaryrefslogtreecommitdiff
path: root/fs/ntfs3
diff options
context:
space:
mode:
authorGravatar David Sterba <dsterba@suse.com> 2024-01-24 22:41:01 +0100
committerGravatar David Sterba <dsterba@suse.com> 2024-03-04 16:24:50 +0100
commit11dcc86ebac88ca878e661eab4ce2a5a6c611edd (patch)
treed7079e0a92e5d79029515d7dc96aa770f2d50aca /fs/ntfs3
parentbtrfs: update comment and drop assertion in extent item lookup in find_parent... (diff)
downloadlinux-11dcc86ebac88ca878e661eab4ce2a5a6c611edd.tar.gz
linux-11dcc86ebac88ca878e661eab4ce2a5a6c611edd.tar.bz2
linux-11dcc86ebac88ca878e661eab4ce2a5a6c611edd.zip
btrfs: handle invalid extent item reference found in extent_from_logical()
The extent_from_logical() helper looks up an extent item by a key, allowing to do an inexact search when key->offset is -1. It's never expected to find such item, as it would break the allowed range of a extent item offset. The same error is already handled in btrfs_backref_iter_start() so add a comment for consistency. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/ntfs3')
0 files changed, 0 insertions, 0 deletions