ab470de btrfs-progs: introduce alloc_chunk_ctl structure

1 file Authored by Johannes Thumshirn 4 years ago, Committed by David Sterba 4 years ago,
1 file changed. 76 lines added. 64 lines removed.
    btrfs-progs: introduce alloc_chunk_ctl structure
    
    Introduce an alloc_chunk_ctl structure, which holds parameters to control
    chunk allocation.
    
    Furthermore use this throughout btrfs_alloc_chunk().
    
    Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
    Signed-off-by: David Sterba <dsterba@suse.com>
    
        
file modified
+76 -64