public static HardLinkFileInfo loadHardLinkFileInfo(long hardLinkID,
      FSImageLoadingContext context) {  
    // update the latest hard link ID 
    context.getFSDirectory().resetLastHardLinkIDIfLarge(hardLinkID);
  
    // create the hard link file info if necessary  
    HardLinkFileInfo fileInfo = context.getHardLinkFileInfo(hardLinkID);
    if (fileInfo == null) { 
      fileInfo = new HardLinkFileInfo(hardLinkID);
      context.associateHardLinkIDWithFileInfo(hardLinkID, fileInfo);
    }
    return fileInfo;  
  }
public static HardLinkFileInfo loadHardLinkFileInfo ( long hardLinkID , FSImageLoadingContext context ) { context . getFSDirectory ( ) . resetLastHardLinkIDIfLarge ( hardLinkID ) ; HardLinkFileInfo fileInfo = context . getHardLinkFileInfo ( hardLinkID ) ; if ( fileInfo == null ) { fileInfo = new HardLinkFileInfo ( hardLinkID ) ; context . associateHardLinkIDWithFileInfo ( hardLinkID , fileInfo ) ; } return fileInfo ; }
Create a HardLink file info if necessary and register to the hardLinkINodeIDToFileInfoMap
And return the hardLinkFileInfo which is registered in the hardLinkINodeIDToFileInfoMap

This function is not thread safe.
@param inodeID
@param context The context when loading the fsImage
@return hardLinkFileInfo registered in the hardLinkINodeIDToFileInfoMap