diff options
author | Josef Bacik <josef@toxicpanda.com> | 2023-03-02 00:14:43 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-03-15 22:51:06 +0300 |
commit | df384da5a49cace5c5e3100803dfd563fd982f93 (patch) | |
tree | 7085b5056715702253671c539e95990466916969 /fs/ecryptfs | |
parent | bf1f1fec2724a33b67ec12032402ea75f2a83622 (diff) | |
download | linux-df384da5a49cace5c5e3100803dfd563fd982f93.tar.xz |
btrfs: use temporary variable for space_info in btrfs_update_block_group
We do
cache->space_info->counter += num_bytes;
everywhere in here. This is makes the lines longer than they need to
be, and will be especially noticeable when we add the active tracking in,
so add a temp variable for the space_info so this is cleaner.
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions