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:
5f0be6f
)
setup local index
author
tappro
<tappro>
Sun, 7 May 2006 13:56:17 +0000
(13:56 +0000)
committer
tappro
<tappro>
Sun, 7 May 2006 13:56:17 +0000
(13:56 +0000)
lustre/cmm/cmm_device.c
patch
|
blob
|
history
diff --git
a/lustre/cmm/cmm_device.c
b/lustre/cmm/cmm_device.c
index
cb448b2
..
6cc2ad0
100644
(file)
--- a/
lustre/cmm/cmm_device.c
+++ b/
lustre/cmm/cmm_device.c
@@
-139,6
+139,13
@@
static int cmm_process_config(struct lu_device *d, struct lustre_cfg *cfg)
case LCFG_ADD_MDC:
err = cmm_add_mdc(m, cfg);
break;
+ case LCFG_SETUP:
+ {
+ const char *index = lustre_cfg_string(cfg, 2);
+ LASSERT(index);
+ m->cmm_local_num = simple_strtol(index, NULL, 10);
+ /* no break; to pass cfg further */
+ }
default:
err = next->ld_ops->ldo_process_config(next, cfg);
}