change inode map to struct from bool