Made the add_inode function actually return the inode.