diff options
author | 2019-07-03 15:32:59 +0300 | |
---|---|---|
committer | 2019-09-09 14:59:02 +0200 | |
commit | 559ca6ea695e3dedc7b6a11ce31fcc6eac398797 (patch) | |
tree | 424a470f18d140fd7666a6d42f4f42e4131a4307 /fs/btrfs/tree-log.c | |
parent | btrfs: Remove unnecessary check from join_running_log_trans (diff) | |
download | wireguard-linux-559ca6ea695e3dedc7b6a11ce31fcc6eac398797.tar.xz wireguard-linux-559ca6ea695e3dedc7b6a11ce31fcc6eac398797.zip |
btrfs: Refactor btrfs_calc_avail_data_space
Simplify the code by removing variables that don't bring any real value
as well as simplifying the checks when buidling the candidate list of
devices. No functional changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions