commit | fcec36224fc674953eadfca05c69225e6595641b | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Wed Jun 19 13:47:20 2019 -0400 |
committer | David Sterba <dsterba@suse.com> | Tue Jul 02 12:30:54 2019 +0200 |
tree | 1de8986e37b3ace5667397db7628e2e15b8d3164 | |
parent | fed14b323db868c3ac0071925763964a6ca58883 [diff] |
btrfs: cleanup the target logic in __btrfs_block_rsv_release This works for all callers already, but if we wanted to use the helper for the global_block_rsv it would end up trying to refill itself. Fix the logic to be able to be used no matter which block rsv is passed in to this helper. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>