diff options
author | 2023-03-01 16:14:43 -0500 | |
---|---|---|
committer | 2023-03-15 20:51:06 +0100 | |
commit | df384da5a49cace5c5e3100803dfd563fd982f93 (patch) | |
tree | 7085b5056715702253671c539e95990466916969 /scripts/generate_rust_analyzer.py | |
parent | btrfs: rename BTRFS_FS_NO_OVERCOMMIT to BTRFS_FS_ACTIVE_ZONE_TRACKING (diff) | |
download | wireguard-linux-df384da5a49cace5c5e3100803dfd563fd982f93.tar.xz wireguard-linux-df384da5a49cace5c5e3100803dfd563fd982f93.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions