Fix compilation errors; added get_inode_direct