change inode map to struct from bool

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Merge pull request #5264 from unclejack/change_inode_map

change inode map to struct from bool