Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8716ddd
)
b=3844
author
rread
<rread>
Wed, 14 Jul 2004 20:37:55 +0000
(20:37 +0000)
committer
rread
<rread>
Wed, 14 Jul 2004 20:37:55 +0000
(20:37 +0000)
Add debug LASSERT to ldlm_replay_locks()
lustre/ldlm/ldlm_request.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_request.c
b/lustre/ldlm/ldlm_request.c
index
0625389
..
aa8881a
100644
(file)
--- 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);