Whamcloud - gitweb
Branch: HEAD
authorwangdi <wangdi>
Fri, 5 Aug 2005 14:48:14 +0000 (14:48 +0000)
committerwangdi <wangdi>
Fri, 5 Aug 2005 14:48:14 +0000 (14:48 +0000)
typo fix after land

lustre/ldlm/ldlm_resource.c

index 4aaaa22..3633d87 100644 (file)
@@ -371,7 +371,6 @@ int ldlm_namespace_cleanup(struct ldlm_namespace *ns, int flags)
                 while (tmp != &(ns->ns_hash[i])) {
                         struct ldlm_resource *res;
                         res = list_entry(tmp, struct ldlm_resource, lr_hash);
-                        spin_unlock(&ns->ns_hash_lock);
                         ldlm_resource_getref(res);
                         spin_unlock(&ns->ns_hash_lock);