diff options
| author | Qu Wenruo <[email protected]> | 2017-02-27 07:10:35 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-06-29 18:17:02 +0000 |
| commit | d1b8b94a2b4f416b416bdfde46315e9aef17f358 (patch) | |
| tree | 271e0e92eea260df6b2cb01f45eba3895419b898 /fs/btrfs/dev-replace.c | |
| parent | btrfs: qgroup: Add quick exit for non-fs extents (diff) | |
| download | kernel-d1b8b94a2b4f416b416bdfde46315e9aef17f358.tar.gz kernel-d1b8b94a2b4f416b416bdfde46315e9aef17f358.zip | |
btrfs: qgroup: Cleanup btrfs_qgroup_prepare_account_extents function
Quite a lot of qgroup corruption happens due to wrong time of calling
btrfs_qgroup_prepare_account_extents().
Since the safest time is to call it just before
btrfs_qgroup_account_extents(), there is no need to separate these 2
functions.
Merging them will make code cleaner and less bug prone.
Signed-off-by: Qu Wenruo <[email protected]>
[ changelog and comment adjustments ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
