8d4893c libgfs2: Add functions for finding free extents

Authored and Committed by andyp 9 years ago
    libgfs2: Add functions for finding free extents
    
    Port gfs2_rbm_find and some functions which it depends on from the gfs2
    kernel code. This will set the base for allocation of single-extent
    files. The functions have been simplified where possible as libgfs2
    doesn't have a concept of reservations for the time being.
    
    Signed-off-by: Andrew Price <anprice@redhat.com>
    
        
file modified
+197 -0
file modified
+2 -0