From: rread Date: Wed, 14 Jul 2004 20:37:55 +0000 (+0000) Subject: b=3844 X-Git-Tag: 1.3.4~600 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=022c29ca4736e285eb06c31f1f8e6a45348ab496;p=fs%2Flustre-release.git b=3844 Add debug LASSERT to ldlm_replay_locks() --- 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);