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:
13f5956
)
- delete fld targets during device shutdown
author
tappro
<tappro>
Mon, 16 Oct 2006 09:18:07 +0000
(09:18 +0000)
committer
tappro
<tappro>
Mon, 16 Oct 2006 09:18:07 +0000
(09:18 +0000)
lustre/cmm/cmm_device.c
patch
|
blob
|
history
diff --git
a/lustre/cmm/cmm_device.c
b/lustre/cmm/cmm_device.c
index
60a6cd2
..
3d28829
100644
(file)
--- a/
lustre/cmm/cmm_device.c
+++ b/
lustre/cmm/cmm_device.c
@@
-229,6
+229,7
@@
static void cmm_device_shutdown(const struct lu_env *env,
spin_lock(&cm->cmm_tgt_guard);
list_for_each_entry_safe(mc, tmp, &cm->cmm_targets, mc_linkage) {
struct lu_device *ld_m = mdc2lu_dev(mc);
+ fld_client_del_target(cm->cmm_fld, mc->mc_num);
ld_m->ld_ops->ldo_process_config(env, ld_m, cfg);
}
spin_unlock(&cm->cmm_tgt_guard);