summaryrefslogtreecommitdiff
path: root/fs/quota
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-08 20:20:24 +0300
committerDavid Sterba <dsterba@suse.com>2023-09-20 21:42:47 +0300
commitd2f79e6385b0fcb1a38368e17d4721b8cd72af9f (patch)
tree2c4a49e678cb0fd80246d15e727f1f940ad6fde8 /fs/quota
parent1bf76df3fee56d6637718e267f7c34ed70d0c7dc (diff)
downloadlinux-d2f79e6385b0fcb1a38368e17d4721b8cd72af9f.tar.xz
btrfs: remove redundant BUG_ON() from __btrfs_inc_extent_ref()
At __btrfs_inc_extent_ref() we are doing a BUG_ON() if we are dealing with a tree block reference that has a reference count that is different from 1, but we have already dealt with this case at run_delayed_tree_ref(), making it useless. So remove the BUG_ON(). Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions