Got rid of the line testing the get_inode() function.