def globEntriesByHashTree
      ents_by_name = {}
      offset = 0
      # Chomp fake '.' and '..' directories first
      2.times do
        de = DirectoryEntry.new(@data[offset..-1], @sb.isNewDirEnt?)
        ents_by_name[de.name] ||= []
        ents_by_name[de.name] << de
        offset += 12
      end

      $log.info("Ext4::Directory.globEntriesByHashTree (inode=#{@inodeNum}) >>\n#{@data[0, 256].hex_dump}")
      header = HashTreeHeader.new(@data[offset..-1])
      $log.info("Ext4::Directory.globEntriesByHashTree --\n#{header.dump}")
      $log.info("Ext4::Directory.globEntriesByHashTree (inode=#{@inodeNum}) <<#{ents_by_name.inspect}")
      offset += header.length
      root = HashTreeEntry.new(@data[offset..-1], true)
      $log.info("Ext4::Directory.globEntriesByHashTree --\n#{root.dump}")
      ents_by_name
    end
def globEntriesByHashTree
      ents_by_name = {}
      offset = 0
      # Chomp fake '.' and '..' directories first
      2.times do
        de = DirectoryEntry.new(@data[offset..-1], @sb.isNewDirEnt?)
        ents_by_name[de.name] ||= []
        ents_by_name[de.name] << de
        offset += 12
      end

      $log.info("Ext4::Directory.globEntriesByHashTree (inode=#{@inodeNum}) >>\n#{@data[0, 256].hex_dump}")
      header = HashTreeHeader.new(@data[offset..-1])
      $log.info("Ext4::Directory.globEntriesByHashTree --\n#{header.dump}")
      $log.info("Ext4::Directory.globEntriesByHashTree (inode=#{@inodeNum}) <<#{ents_by_name.inspect}")
      offset += header.length
      root = HashTreeEntry.new(@data[offset..-1], true)
      $log.info("Ext4::Directory.globEntriesByHashTree --\n#{root.dump}")
      ents_by_name
    end
If the inode has the IF_HASH_INDEX bit set,
 then the first directory block is to be interpreted as the root of an HTree index.