/* * Find the (dir cnode, name) pair in the cache, if its cred * matches the input, return it, otherwise return 0 */