/* Queue up a lock for blocking so that the GRANTED request can see it  */
struct nlm_wait* nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl)
/* Queue up a lock for blocking so that the GRANTED request can see it  */
struct nlm_wait* nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl)
{
	struct nlm_wait *block;
	block = kmalloc(sizeof(*block), GFP_KERNEL);
	if (block != NULL) {
		block->b_host = host;
		block->b_lock = fl;
		init_waitqueue_head(&block->b_wait);
		block->b_status = nlm_lck_blocked;
		list_add(&block->b_list, &nlm_blocked);
	}
	return block;
}