diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-06-03 08:55:18 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 12:55:32 +0200 |
commit | 72b7d15bf1e1ee7b71da81e6c5d9afcd2e86c426 (patch) | |
tree | f4125109b2214b491e4c70bfd3d06a0c733e572e /fs/btrfs/qgroup.c | |
parent | a0ff10dcc4a5185e9df2e9d5349f8b03cc909b23 (diff) | |
download | lwn-72b7d15bf1e1ee7b71da81e6c5d9afcd2e86c426.tar.gz lwn-72b7d15bf1e1ee7b71da81e6c5d9afcd2e86c426.zip |
btrfs: make btrfs_qgroup_release_data take btrfs_inode
It just forwards its argument to __btrfs_qgroup_release_data.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r-- | fs/btrfs/qgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 7795c7616fe8..01a2b03648be 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -3613,9 +3613,9 @@ int btrfs_qgroup_free_data(struct btrfs_inode *inode, * * NOTE: This function may sleep for memory allocation. */ -int btrfs_qgroup_release_data(struct inode *inode, u64 start, u64 len) +int btrfs_qgroup_release_data(struct btrfs_inode *inode, u64 start, u64 len) { - return __btrfs_qgroup_release_data(BTRFS_I(inode), NULL, start, len, 0); + return __btrfs_qgroup_release_data(inode, NULL, start, len, 0); } static void add_root_meta_rsv(struct btrfs_root *root, int num_bytes, |