commit | e3ecdb3fdecf2d505bd742ffccf1b0a2854f2812 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri May 17 11:43:38 2019 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Jul 01 13:34:57 2019 +0200 |
tree | 17eb1a86935188e86260fc7d5bef73e1d5357b2b | |
parent | 8c3e3582a4f0dbdaea49cfd71640a626c8bb7134 [diff] |
btrfs: factor out devs_max setting in __btrfs_alloc_chunk Merge the repeated code before the if-else block. Signed-off-by: David Sterba <dsterba@suse.com>