commit | 559ca6ea695e3dedc7b6a11ce31fcc6eac398797 | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Wed Jul 03 15:32:59 2019 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Sep 09 14:59:02 2019 +0200 |
tree | 424a470f18d140fd7666a6d42f4f42e4131a4307 | |
parent | e678934cbe5f026c2765a1da651e61daa5724fb3 [diff] |
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>