mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
btrfs: factor out check_removing_space_info() from btrfs_free_block_groups()
[ Upstream commit1cfdbe0d53] Factor out check_removing_space_info() from btrfs_free_block_groups(). It sanity checks a to-be-removed space_info. There is no functional change. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Stable-dep-of:a11224a016("btrfs: fix memory leaks in create_space_info() error paths") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
3351d48251
commit
d046ff8e55
1 changed files with 27 additions and 22 deletions
Loading…
Add table
Add a link
Reference in a new issue