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:
21afd53
)
fix typo.
author
shadow
<shadow>
Fri, 18 Jan 2008 14:52:59 +0000
(14:52 +0000)
committer
shadow
<shadow>
Fri, 18 Jan 2008 14:52:59 +0000
(14:52 +0000)
lustre/lov/lov_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_obd.c
b/lustre/lov/lov_obd.c
index
183a323
..
7383ae6
100644
(file)
--- a/
lustre/lov/lov_obd.c
+++ b/
lustre/lov/lov_obd.c
@@
-260,12
+260,14
@@
static int lov_disconnect_obd(struct obd_device *obd, __u32 index)
ENTRY;
- CDEBUG(D_CONFIG, "%s: disconnecting target %s\n",
- obd->obd_name, osc_obd->obd_name);
if (lov->lov_tgts[index] == NULL)
RETURN(-EINVAL);
osc_obd = class_exp2obd(lov->lov_tgts[index]->ltd_exp);
+ CDEBUG(D_CONFIG, "%s: disconnecting target %s\n",
+ obd->obd_name, osc_obd->obd_name);
+
+
if (lov->lov_tgts[index]->ltd_active) {
lov->lov_tgts[index]->ltd_active = 0;
lov->desc.ld_active_tgt_count--;