summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorGu JinXiang <gujx@cn.fujitsu.com>2018-05-30 11:00:38 +0800
committerDavid Sterba <dsterba@suse.com>2018-05-30 16:46:53 +0200
commitc4c129db5da8f070147f1757e16196d377ccf20b (patch)
treebd6a5dab9cea7cf130119eda9ed8533e3bfac8f0 /fs/btrfs/ctree.h
parente73e81b6d0114d4a303205a952ab2e87c44bd279 (diff)
downloadblackbird-op-linux-c4c129db5da8f070147f1757e16196d377ccf20b.tar.gz
blackbird-op-linux-c4c129db5da8f070147f1757e16196d377ccf20b.zip
btrfs: drop unused parameter qgroup_reserved
Since commit 7775c8184ec0 ("btrfs: remove unused parameter from btrfs_subvolume_release_metadata") parameter qgroup_reserved is not used by caller of function btrfs_subvolume_reserve_metadata. So remove it. Signed-off-by: Gu JinXiang <gujx@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 9a62bc59cc39..f4bf7874c24a 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2767,8 +2767,7 @@ void btrfs_free_reserved_data_space_noquota(struct inode *inode, u64 start,
void btrfs_trans_release_chunk_metadata(struct btrfs_trans_handle *trans);
int btrfs_subvolume_reserve_metadata(struct btrfs_root *root,
struct btrfs_block_rsv *rsv,
- int nitems,
- u64 *qgroup_reserved, bool use_global_rsv);
+ int nitems, bool use_global_rsv);
void btrfs_subvolume_release_metadata(struct btrfs_fs_info *fs_info,
struct btrfs_block_rsv *rsv);
void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes,
OpenPOWER on IntegriCloud