diff options
author | David Sterba <dsterba@suse.com> | 2017-02-15 16:47:36 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 12:03:50 +0100 |
commit | 6655bc3de1078f8343263b8d822d0aa2236d86b4 (patch) | |
tree | a5e9dabc7e4ce4d1e30dbcaa4ebf50ca7def45d7 /fs/btrfs/qgroup.c | |
parent | 4ae8553c2d8811f41fe8d785646e90fd1580843f (diff) | |
download | linux-stable-6655bc3de1078f8343263b8d822d0aa2236d86b4.tar.gz linux-stable-6655bc3de1078f8343263b8d822d0aa2236d86b4.tar.bz2 linux-stable-6655bc3de1078f8343263b8d822d0aa2236d86b4.zip |
btrfs: ulist: rename ulist_fini to ulist_release
Change the name so it matches the naming we already use eg. for
btrfs_path.
Suggested-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r-- | fs/btrfs/qgroup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index e1d0ab1f2ae0..366a21ae2249 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -2834,7 +2834,7 @@ int btrfs_qgroup_reserve_data(struct inode *inode, u64 start, u64 len) if (ret < 0) goto cleanup; - ulist_fini(&changeset.range_changed); + ulist_release(&changeset.range_changed); return ret; cleanup: @@ -2844,7 +2844,7 @@ cleanup: clear_extent_bit(&BTRFS_I(inode)->io_tree, unode->val, unode->aux, EXTENT_QGROUP_RESERVED, 0, 0, NULL, GFP_NOFS); - ulist_fini(&changeset.range_changed); + ulist_release(&changeset.range_changed); return ret; } @@ -2871,7 +2871,7 @@ static int __btrfs_qgroup_release_data(struct inode *inode, u64 start, u64 len, trace_btrfs_qgroup_release_data(inode, start, len, changeset.bytes_changed, trace_op); out: - ulist_fini(&changeset.range_changed); + ulist_release(&changeset.range_changed); return ret; } @@ -2986,5 +2986,5 @@ void btrfs_qgroup_check_reserved_leak(struct inode *inode) changeset.bytes_changed); } - ulist_fini(&changeset.range_changed); + ulist_release(&changeset.range_changed); } |