/* Find a block with a given NLM cookie.  */
static struct nlm_block* nlmsvc_find_block(struct nlm_cookie *cookie)
/* Find a block with a given NLM cookie.  */
static struct nlm_block* nlmsvc_find_block(struct nlm_cookie *cookie)
{
	struct nlm_block *block;
	list_for_each_entry(block, &nlm_blocked, b_list) {
		if (nlm_cookie_match(&block->b_call->a_args.cookie,cookie))
			goto found;
	}
	return NULL;
found:
	dprintk("nlmsvc_find_block(%s): block=%p\n", nlmdbg_cookie2a(cookie), block);
	kref_get(&block->b_count);
	return block;
}