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:
a1b97b5
)
lu_site_fini(): break reference from lu_device to lu_site
author
nikita
<nikita>
Sun, 16 Apr 2006 17:45:27 +0000
(17:45 +0000)
committer
nikita
<nikita>
Sun, 16 Apr 2006 17:45:27 +0000
(17:45 +0000)
lustre/obdclass/lu_object.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/lu_object.c
b/lustre/obdclass/lu_object.c
index
b07f39d
..
7ece821
100644
(file)
--- a/
lustre/obdclass/lu_object.c
+++ b/
lustre/obdclass/lu_object.c
@@
-287,6
+287,7
@@
void lu_site_fini(struct lu_site *s)
}
if (s->ls_top_dev != NULL) {
lu_device_put(s->ls_top_dev);
+ s->ls_top_dev->ld_site = NULL;
s->ls_top_dev = NULL;
}
}