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:
3da504b
)
Fixed a bug: when stealing config log for add mdc & osc from clients', I should
author
huanghua
<huanghua>
Wed, 12 Apr 2006 06:30:40 +0000
(06:30 +0000)
committer
huanghua
<huanghua>
Wed, 12 Apr 2006 06:30:40 +0000
(06:30 +0000)
change the name of the mdc&osc, instead of uuid.
lustre/mgs/mgs_llog.c
patch
|
blob
|
history
diff --git
a/lustre/mgs/mgs_llog.c
b/lustre/mgs/mgs_llog.c
index
7fa39aa
..
45f8cf6
100644
(file)
--- a/
lustre/mgs/mgs_llog.c
+++ b/
lustre/mgs/mgs_llog.c
@@
-964,7
+964,7
@@
static int mgs_steal_llog_handler(struct llog_handle *llh,
uuid = lustre_cfg_string(lcfg, 1);
index = lustre_cfg_string(lcfg, 2);
gen = lustre_cfg_string(lcfg, 3);
- dash = strchr(
uuid
, '-');
+ dash = strchr(
name
, '-');
*(++dash)='m';
*(++dash)='d';
*(++dash)='t';
@@
-987,7
+987,7
@@
static int mgs_steal_llog_handler(struct llog_handle *llh,
uuid = lustre_cfg_string(lcfg, 1);
index = lustre_cfg_string(lcfg, 2);
gen = lustre_cfg_string(lcfg, 3);
- dash = strchr(
uuid
, '-');
+ dash = strchr(
name
, '-');
*(++dash)='m';
*(++dash)='d';
*(++dash)='t';