8d35210 libgfs2, fsck.gfs2: simplify block_query code

15 files Authored by Bob Peterson 14 years ago, Committed by rpeterso 14 years ago,
    libgfs2, fsck.gfs2: simplify block_query code
    
    This patch simplifies the block query code.  Now that the blockmap
    code doesn't have the duplicate block reference responsibilities,
    we don't need the query info to be in its own structure.  The
    block query can be reduced to a simple fetch from memory and mask
    off the bits we need.  The block query used to check for a valid
    block range.  Now, for performance reasons, that's the
    responsibility of the caller.  Most of the callers check for a
    valid range anyway, so checking it in the query was a waste of
    time.  This is for better performance and makes the code simpler
    and more readable.
    
    rhbz#455300
    
        
file modified
+1 -1
file modified
+4 -6
file modified
+6 -10
file modified
+3 -10
file modified
+20 -61
file modified
+10 -14
file modified
+10 -18
file modified
+21 -30
file modified
+19 -37
file modified
+12 -15
file modified
+8 -8
file modified
+3 -3
file modified
+14 -1
file modified
+0 -15
file modified
+0 -6