4bda97c libgfs2: Add function to map block states to names

Authored and Committed by andyp 3 months ago
    libgfs2: Add function to map block states to names
    
    Add an lgfs2_blkst_str() function mapping block states to names and
    replace the duplicated allocdesc arrays defined in gfs2_edit and
    fsck.gfs2. Implemented as a function instead of an array for safety,
    which allowed some range checks to be removed.
    
    Signed-off-by: Andrew Price <anprice@redhat.com>
    
        
  • jenkins
    pending
    Build #122 in progress (commit: 4bda97c1)
    3 months ago
  • jenkins
    success (100%)
    Build #122 successful (commit: 4bda97c1)
    3 months ago
file modified
+5 -12
file modified
+0 -1
file modified
+1 -2
file modified
+2 -3
file modified
+17 -1
file modified
+3 -0