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:
433d3f5
)
branch: HEAD
author
ericm
<ericm>
Thu, 9 Apr 2009 20:43:11 +0000
(20:43 +0000)
committer
ericm
<ericm>
Thu, 9 Apr 2009 20:43:11 +0000
(20:43 +0000)
add an assertion trying to catch the rarely happened case of possible
import reference over dropping.
b=18849
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
b0ba327
..
cb3c85d
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-1383,6
+1383,7
@@
static void obd_zombie_export_add(struct obd_export *exp) {
* Add import to the obd_zombe thread and notify it.
*/
static void obd_zombie_import_add(struct obd_import *imp) {
+ LASSERT(imp->imp_sec == NULL);
spin_lock(&obd_zombie_impexp_lock);
LASSERT(list_empty(&imp->imp_zombie_chain));
list_add(&imp->imp_zombie_chain, &obd_zombie_imports);