gfs_fsck cannot repair rindex problems when directly on blockdevice
The calculations for resource group (RG) locations was close but not
identical to what gfs_mkfs used. Therefore, in some peculiar
boundary cases, gfs_fsck was unable to repair damaged RGs or a
damage rindex file. The calculations have been adjusted to match
those used by gfs_mkfs so the file system is repaired correctly.
rhbz#512722