code: public void resetLastInodeId(long newValue) throws IOException {
      try {
        inodeId.skipTo(newValue);
      } catch(IllegalStateException ise) {
        throw new IOException(ise);
      }
    }
docs: Set the last allocated inode id when fsimage or editlog is loaded.