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/inode.c | |
parent | a0ff10dcc4a5185e9df2e9d5349f8b03cc909b23 (diff) |
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/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 7aeaa9fe18a6..49d0d3d528b5 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -9643,7 +9643,7 @@ static int insert_prealloc_file_extent(struct btrfs_trans_handle *trans, btrfs_set_stack_file_extent_compression(&stack_fi, BTRFS_COMPRESS_NONE); /* Encryption and other encoding is reserved and all 0 */ - ret = btrfs_qgroup_release_data(inode, file_offset, len); + ret = btrfs_qgroup_release_data(BTRFS_I(inode), file_offset, len); if (ret < 0) return ret; return insert_reserved_file_extent(trans, inode, file_offset, |