Whamcloud - gitweb
remove wrong debug code.
authorshadow <shadow>
Wed, 3 Oct 2007 04:59:46 +0000 (04:59 +0000)
committershadow <shadow>
Wed, 3 Oct 2007 04:59:46 +0000 (04:59 +0000)
lustre/ldlm/ldlm_resource.c

index 7c7692f..922dba0 100644 (file)
@@ -777,9 +777,6 @@ void __ldlm_resource_putref_final(struct ldlm_resource *res)
 
         LASSERT_SPIN_LOCKED(&ns->ns_hash_lock);
 
-       printk("destroy res %p\n", res);
-       WARN_ON(1);
-       
         if (!list_empty(&res->lr_granted)) {
                 ldlm_resource_dump(D_ERROR, res);
                 LBUG();