aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-09-01 14:18:24 +0100
committerDavid Sterba <[email protected]>2022-09-26 12:28:00 +0200
commit9a42bbaeff2b101ffdb7fc8c3a326bff08a33917 (patch)
tree6b9e41e5c5acf7cdaee929adda2122e0a08e9d08 /fs/btrfs/inode.c
parentf12eec9a2665422f4a8e644b4f65475ae2ee5c30 (diff)
btrfs: remove zero length check when entering fiemap
There's no point to check for a 0 length at extent_fiemap(), as before calling it, we called fiemap_prep() at btrfs_fiemap(), which already checks for a zero length and returns the same -EINVAL error. So remove the pointless check. Reviewed-by: Josef Bacik <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions