Commit df384da
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 <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Anand Jain <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>1 parent bf1f1fe commit df384da
1 file changed
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3476 | 3476 | | |
3477 | 3477 | | |
3478 | 3478 | | |
| 3479 | + | |
3479 | 3480 | | |
3480 | 3481 | | |
3481 | 3482 | | |
3482 | 3483 | | |
3483 | 3484 | | |
3484 | 3485 | | |
3485 | 3486 | | |
| 3487 | + | |
3486 | 3488 | | |
3487 | 3489 | | |
3488 | 3490 | | |
| |||
3497 | 3499 | | |
3498 | 3500 | | |
3499 | 3501 | | |
3500 | | - | |
| 3502 | + | |
3501 | 3503 | | |
3502 | 3504 | | |
3503 | 3505 | | |
| |||
3510 | 3512 | | |
3511 | 3513 | | |
3512 | 3514 | | |
3513 | | - | |
3514 | | - | |
3515 | | - | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
3516 | 3518 | | |
3517 | | - | |
| 3519 | + | |
3518 | 3520 | | |
3519 | 3521 | | |
3520 | 3522 | | |
3521 | 3523 | | |
3522 | | - | |
3523 | | - | |
3524 | | - | |
3525 | | - | |
| 3524 | + | |
| 3525 | + | |
| 3526 | + | |
| 3527 | + | |
3526 | 3528 | | |
3527 | 3529 | | |
3528 | 3530 | | |
3529 | 3531 | | |
3530 | | - | |
| 3532 | + | |
3531 | 3533 | | |
3532 | 3534 | | |
3533 | 3535 | | |
| |||
0 commit comments