Whamcloud - gitweb
Andreas caught a think-o in the liblustre half of this checkin
authorphil <phil>
Mon, 14 Feb 2005 05:52:52 +0000 (05:52 +0000)
committerphil <phil>
Mon, 14 Feb 2005 05:52:52 +0000 (05:52 +0000)
lustre/ldlm/l_lock.c

index baf43ab..fd229c3 100644 (file)
@@ -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);
         }