btrfs: factor out devs_max setting in __btrfs_alloc_chunk
Merge the repeated code before the if-else block.
Signed-off-by: NDavid Sterba <dsterba@suse.com>
Showing
想要评论请 注册 或 登录
Merge the repeated code before the if-else block.
Signed-off-by: NDavid Sterba <dsterba@suse.com>