summaryrefslogtreecommitdiff
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2020-06-03 08:55:11 +0300
committerDavid Sterba <dsterba@suse.com>2020-07-27 13:55:30 +0300
commit8b8a979f1fc69054f99abab80daeae89aba3f19b (patch)
treeb0302db317fffb7f63ed91e7d997a3ed194c90a1 /fs/btrfs/qgroup.c
parent8769af96cf6355ae96c808265a05171226b4b6e7 (diff)
downloadlinux-8b8a979f1fc69054f99abab80daeae89aba3f19b.tar.xz
btrfs: make btrfs_qgroup_free_data take btrfs_inode
It passes btrfs_inode to its callee so change the interface. 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index de2812ee73c1..7795c7616fe8 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -3592,10 +3592,10 @@ out:
*
* NOTE: This function may sleep for memory allocation.
*/
-int btrfs_qgroup_free_data(struct inode *inode,
+int btrfs_qgroup_free_data(struct btrfs_inode *inode,
struct extent_changeset *reserved, u64 start, u64 len)
{
- return __btrfs_qgroup_release_data(BTRFS_I(inode), reserved, start, len, 1);
+ return __btrfs_qgroup_release_data(inode, reserved, start, len, 1);
}
/*