OSDN Git Service

btrfs: export __btrfs_block_rsv_release
authorJosef Bacik <josef@toxicpanda.com>
Wed, 19 Jun 2019 17:47:19 +0000 (13:47 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:54 +0000 (12:30 +0200)
commitfed14b323db868c3ac0071925763964a6ca58883
tree049ee767fcb3cfb9f5772aed4c55bb64ed845a1b
parent0b50174ad5e9fb32abcfdb10b1a14e76a72b20e6
btrfs: export __btrfs_block_rsv_release

The delalloc reserve stuff calls this directly because it cares about
the qgroup accounting stuff, so export it so we can move it around.  Fix
btrfs_block_rsv_release() to just be a static inline since it just calls
__btrfs_block_rsv_release() with NULL for the qgroup stuff.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-rsv.h
fs/btrfs/extent-tree.c