Whamcloud - gitweb
b=3844
authorrread <rread>
Wed, 14 Jul 2004 20:37:55 +0000 (20:37 +0000)
committerrread <rread>
Wed, 14 Jul 2004 20:37:55 +0000 (20:37 +0000)
Add debug LASSERT to ldlm_replay_locks()

lustre/ldlm/ldlm_request.c

index 0625389..aa8881a 100644 (file)
@@ -1005,6 +1005,7 @@ int ldlm_replay_locks(struct obd_import *imp)
         INIT_LIST_HEAD(&list);
 
         LASSERT(atomic_read(&imp->imp_replay_inflight) == 0);
+        LASSERT(ns != NULL);
 
         /* ensure this doesn't fall to 0 before all have been queued */
         atomic_inc(&imp->imp_replay_inflight);