aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2019-07-03 12:32:59 +0000
committerDavid Sterba <[email protected]>2019-09-09 12:59:02 +0000
commit559ca6ea695e3dedc7b6a11ce31fcc6eac398797 (patch)
tree424a470f18d140fd7666a6d42f4f42e4131a4307 /fs/btrfs/async-thread.c
parentbtrfs: Remove unnecessary check from join_running_log_trans (diff)
downloadkernel-559ca6ea695e3dedc7b6a11ce31fcc6eac398797.tar.gz
kernel-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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions