code: public void unlockLastInode() {
      Preconditions.checkState(endsInInode());
      Preconditions.checkState(!mEntries.isEmpty());
  
      mLockedInodes.remove(mLockedInodes.size() - 1);
      mEntries.remove(mEntries.size() - 1).mLock.close();
      mLockMode = LockMode.READ;
    }
docs: Unlocks the last locked inode.