]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Factor out pinned extent clean up in btrfs_delete_unused_bgs
authorNikolay Borisov <nborisov@suse.com>
Mon, 20 Jan 2020 14:09:17 +0000 (16:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:37 +0000 (17:01 +0100)
commit8265d82365ca5a85f92eaf7fabc70dc508099791
tree270ae6718147bd6d11f86050e367568eb2d166aa
parent0f69e19661f435967a656a5ed1b2a431a14bfab0
btrfs: Factor out pinned extent clean up in btrfs_delete_unused_bgs

Next patch is going to refactor how pinned extents are tracked which
will necessitate changing this code. To ease that work and contain the
changes factor the code now in preparation, this will also help review.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.c