summaryrefslogtreecommitdiff
path: root/fs/btrfs/ordered-data.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-06-03 08:55:18 +0300
committerDavid Sterba <dsterba@suse.com>2020-07-27 13:55:32 +0300
commit72b7d15bf1e1ee7b71da81e6c5d9afcd2e86c426 (patch)
treef4125109b2214b491e4c70bfd3d06a0c733e572e /fs/btrfs/ordered-data.c
parenta0ff10dcc4a5185e9df2e9d5349f8b03cc909b23 (diff)
downloadlinux-72b7d15bf1e1ee7b71da81e6c5d9afcd2e86c426.tar.xz
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/ordered-data.c')
-rw-r--r--fs/btrfs/ordered-data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ordered-data.c b/fs/btrfs/ordered-data.c
index 838fec9e245f..855c60d23b4c 100644
--- a/fs/btrfs/ordered-data.c
+++ b/fs/btrfs/ordered-data.c
@@ -182,8 +182,7 @@ static int __btrfs_add_ordered_extent(struct btrfs_inode *inode, u64 file_offset
* The ordered extent has reserved qgroup space, release now
* and pass the reserved number for qgroup_record to free.
*/
- ret = btrfs_qgroup_release_data(&inode->vfs_inode, file_offset,
- num_bytes);
+ ret = btrfs_qgroup_release_data(inode, file_offset, num_bytes);
if (ret < 0)
return ret;
}