]> 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)
commit8c2f06d62291ede498eb839bed518bf2f47fe10f
tree270ae6718147bd6d11f86050e367568eb2d166aa
parent63b79493fe213c8bf767e425cf2a7abfc186cb15
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