From 022c29ca4736e285eb06c31f1f8e6a45348ab496 Mon Sep 17 00:00:00 2001 From: rread Date: Wed, 14 Jul 2004 20:37:55 +0000 Subject: [PATCH] b=3844 Add debug LASSERT to ldlm_replay_locks() --- lustre/ldlm/ldlm_request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/ldlm/ldlm_request.c b/lustre/ldlm/ldlm_request.c index 0625389..aa8881a 100644 --- a/lustre/ldlm/ldlm_request.c +++ b/lustre/ldlm/ldlm_request.c @@ -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); -- 1.8.3.1