70bc706 gfs: improve gfs_fsck rindex repair code

Authored and Committed by rpeterso 15 years ago
    gfs: improve gfs_fsck rindex repair code
    
    bz 442271 - GFS: gfs_fsck bugs found in rindex repair code
    
    This patch makes improvements and fixes some bugs in gfs_fsck's
    rindex repair code.  Basically, if RGs are damaged, especially
    in the third section (i.e. RGs added by gfs_grow) it did not
    properly locate the RG boundaries.  Also, if the rindex was
    completely zeroed out, it did not recover it in cases where
    the file system had been extended.
    
        
file modified
+5 -0
file modified
+129 -40