diff options
author | Josef Bacik <josef@toxicpanda.com> | 2019-06-19 20:47:18 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-02 13:30:54 +0300 |
commit | 0b50174ad5e9fb32abcfdb10b1a14e76a72b20e6 (patch) | |
tree | c3c4d2b0cfd15c4db4cc10425285ec8c9bd3094b /fs/btrfs/block-rsv.h | |
parent | d12ffdd1aa4c165774748265c67af3aa1edab1a0 (diff) | |
download | linux-0b50174ad5e9fb32abcfdb10b1a14e76a72b20e6.tar.xz |
btrfs: export btrfs_block_rsv_add_bytes
This is used in a few places, we need to make sure it's exported so we
can move it around.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-rsv.h')
-rw-r--r-- | fs/btrfs/block-rsv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/block-rsv.h b/fs/btrfs/block-rsv.h index 359e73d329e7..f4af1c0766a7 100644 --- a/fs/btrfs/block-rsv.h +++ b/fs/btrfs/block-rsv.h @@ -73,5 +73,7 @@ int btrfs_cond_migrate_bytes(struct btrfs_fs_info *fs_info, void btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *block_rsv, u64 num_bytes); +void btrfs_block_rsv_add_bytes(struct btrfs_block_rsv *block_rsv, + u64 num_bytes, bool update_size); #endif /* BTRFS_BLOCK_RSV_H */ |