for (block = nlm_blocked; block; block = block->b_next) { 
list_for_each_entry(block, &nlm_blocked, b_list) { 
nlmclnt_grant(struct nlm_lock *lock){	struct nlm_wait	*block;	/*	 * Look up blocked request based on arguments. 	 * Warning: must not use cookie to match it!	 */	for (block = nlm_blocked; block; block = block->b_next) {		if (nlm_compare_locks(block->b_lock, &lock->fl))			break;	}	/* Ooops, no blocked request found. */	if (block == NULL)		return nlm_lck_denied;	/* Alright, we found the lock. Set the return status and	 * wake up the caller.	 */	block->b_status = NLM_LCK_GRANTED;	wake_up(&block->b_wait);	return nlm_granted;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/4f15e2b1f4f3a56e46201714b39436c32218d547/clntlock.c/buggy/fs/lockd/clntlock.c