nlm_compare_locks
if (block->b_file == file && nlm_compare_locks(fl, &lock->fl)) {
if (nlm_compare_locks(&block->b_call->a_args.lock.fl, fl)) {