OSDN Git Service

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)
commit45bb5d6ae961cdfa84b4a151beb77b2a780b2456
tree270ae6718147bd6d11f86050e367568eb2d166aa
parentf2fb72983bdcf57adf7e272107408391ef3dbb2d
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