code: static byte[][] getINodeByteArray(INode inode) throws IOException {
      // calculate the depth of this inode from root
      int depth = getPathDepth(inode);
      
      byte[][] names = new byte[depth][];
  
      // fill up the inodes in the path from this inode to root
      for (int i = 0; i < depth; i++) {
        names[depth-i-1] = inode.getLocalNameBytes();
        inode = inode.parent;
      }
      return names;
    }
docs: Return the byte array representing the given inode's full path name
  
  @param inode an inode
  @return the byte array representation of the full path of the inode
  @throws IOException if the inode is invalid