the entry belongs to the caller, so don't keep a reference to it and use the local copy for inode comparision.