mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
8c3e3582a4
commit
e3ecdb3fde
1 changed files with 2 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue