Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-14283 obdclass: connect vs disconnect race
[fs/lustre-release.git]
/
lustre
/
obdclass
/
obd_config.c
diff --git
a/lustre/obdclass/obd_config.c
b/lustre/obdclass/obd_config.c
index
bf86016
..
69ca1b4
100644
(file)
--- a/
lustre/obdclass/obd_config.c
+++ b/
lustre/obdclass/obd_config.c
@@
-837,11
+837,6
@@
int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg)
}
/* Leave this on forever */
obd->obd_stopping = 1;
}
/* Leave this on forever */
obd->obd_stopping = 1;
- /*
- * function can't return error after that point, so clear setup flag
- * as early as possible to avoid finding via obd_devs / hash
- */
- obd->obd_set_up = 0;
spin_unlock(&obd->obd_dev_lock);
/* wait for already-arrived-connections to finish. */
spin_unlock(&obd->obd_dev_lock);
/* wait for already-arrived-connections to finish. */