code: public void ensureFullInodePath(LockedInodePath inodePath)
        throws InvalidPathException, FileDoesNotExistException {
      if (inodePath.fullPathExists()) {
        return;
      }
      inodePath.traverse();
      if (!inodePath.fullPathExists()) {
        throw new FileDoesNotExistException(
            ExceptionMessage.PATH_DOES_NOT_EXIST.getMessage(inodePath.getUri()));
      }
    }
docs: Attempts to extend an existing {@link LockedInodePath} to reach the target inode (the last
  inode for the full path). If the target inode does not exist, an exception will be thrown.
  
  @param inodePath the {@link LockedInodePath} to extend to the target inode
  @throws InvalidPathException if the path is invalid
  @throws FileDoesNotExistException if the target inode does not exist