0895e0b fsck.gfs2: Verify rgrps free space against bitmap

1 file Authored by Bob Peterson 14 years ago, Committed by rpeterso 14 years ago,
    fsck.gfs2: Verify rgrps free space against bitmap
    
    This patch makes fsck.gfs2 check the actual bits in the rgrp
    bitmaps to see how many blocks are free.  It verifies that
    value against the rg_free value in the rgrp.  It needs to
    ensure that it starts with an accurate value for rg_free because
    an inaccurate value can get us into trouble and cause fsck.gfs2
    to abort abnormally.  This can happen in cases where it tries to
    allocate blocks (for example, for lost+found metadata) when the
    bitmaps say there is free space when there really isn't.
    
    rhbz#455300
    
        
file modified
+128 -0