public static RegionInfo getRegionInfoForFs(RegionInfo regionInfo) {
    if (regionInfo == null) {
      return null;
    }
    return RegionReplicaUtil.getRegionInfoForDefaultReplica(regionInfo);
  }
Returns the regionInfo object to use for interacting with the file system.
@return An RegionInfo object to interact with the filesystem
hbase-server/src/main/java/org/apache/hadoop/hbase/util/ServerRegionReplicaUtil.java