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:
cadb554
)
Fix thinko in export cleanup.
author
adilger
<adilger>
Wed, 4 Sep 2002 00:16:44 +0000
(
00:16
+0000)
committer
adilger
<adilger>
Wed, 4 Sep 2002 00:16:44 +0000
(
00:16
+0000)
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
6d366b9
..
2be7f9b
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-382,7
+382,6
@@
int class_disconnect(struct lustre_handle *conn)
void class_disconnect_all(struct obd_device *obddev)
{
- struct list_head *tmp;
int again = 1;
while (again) {
@@
-392,7
+391,8
@@
void class_disconnect_all(struct obd_device *obddev)
struct lustre_handle conn;
int rc;
- export = list_entry(tmp, struct obd_export,
+ export = list_entry(obddev->obd_exports.next,
+ struct obd_export,
exp_obd_chain);
conn.addr = (__u64)(unsigned long)export;
conn.cookie = export->exp_cookie;