From d6ade6894edaf5279fa1a7274b38ed6e7d4377f5 Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Tue, 2 Mar 2021 12:44:40 +0200 Subject: btrfs: don't opencode extent_changeset_free Reviewed-by: Johannes Thumshirn Signed-off-by: Nikolay Borisov Reviewed-by: David Sterba Signed-off-by: David Sterba --- fs/btrfs/qgroup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fs/btrfs/qgroup.c') diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 997afb77f62b..fed1cecf801f 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -3625,8 +3625,7 @@ cleanup: qgroup_unreserve_range(inode, reserved, start, len); out: if (new_reserved) { - extent_changeset_release(reserved); - kfree(reserved); + extent_changeset_free(reserved); *reserved_ret = NULL; } return ret; -- cgit v1.2.3