btrfs: delete stripe extent on extent deletion
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 14 Sep 2023 16:06:59 +0000 (09:06 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:09 +0000 (16:44 +0200)
commitca41504efda646d9c4b00c37be52f5ba07cebebf
tree2834c9b5cd6440c25cc5b8508371e8c8998c2158
parent02c372e1f016e5113217597ab37b399c4e407477
btrfs: delete stripe extent on extent deletion

As each stripe extent is tied to an extent item, delete the stripe extent
once the corresponding extent item is deleted.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/raid-stripe-tree.c
fs/btrfs/raid-stripe-tree.h