From ccdbebeb5bceb4d82e8340e22bac4ec2ec9ada60 Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 14 Feb 2005 05:52:52 +0000 Subject: [PATCH] Andreas caught a think-o in the liblustre half of this checkin --- lustre/ldlm/l_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ldlm/l_lock.c b/lustre/ldlm/l_lock.c index baf43ab..fd229c3 100644 --- a/lustre/ldlm/l_lock.c +++ b/lustre/ldlm/l_lock.c @@ -144,7 +144,7 @@ void l_check_no_ns_lock(struct ldlm_namespace *ns) #else void l_check_ns_lock(struct ldlm_namespace *ns) { - if (l_has_lock(&ns->ns_lock)) { + if (!l_has_lock(&ns->ns_lock)) { CERROR("namespace %s lock not held when it should be; tell " "phil\n", ns->ns_name); } -- 1.8.3.1