aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-09-08 17:20:24 +0000
committerDavid Sterba <[email protected]>2023-09-20 18:42:47 +0000
commitd2f79e6385b0fcb1a38368e17d4721b8cd72af9f (patch)
tree2c4a49e678cb0fd80246d15e727f1f940ad6fde8 /drivers/cdx/controller/cdx_controller.c
parentbtrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1 (diff)
downloadkernel-d2f79e6385b0fcb1a38368e17d4721b8cd72af9f.tar.gz
kernel-d2f79e6385b0fcb1a38368e17d4721b8cd72af9f.zip
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 <[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 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions