Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-622 Alloc enough cfg buffer space
[fs/lustre-release.git]
/
lustre
/
obdclass
/
obd_config.c
diff --git
a/lustre/obdclass/obd_config.c
b/lustre/obdclass/obd_config.c
index
49469af
..
f9fa331
100644
(file)
--- a/
lustre/obdclass/obd_config.c
+++ b/
lustre/obdclass/obd_config.c
@@
-1286,7
+1286,7
@@
static int class_config_llog_handler(struct llog_handle * handle,
LUSTRE_CFG_BUFLEN(lcfg, 0) > 0){
inst = 1;
inst_len = LUSTRE_CFG_BUFLEN(lcfg, 0) +
- sizeof(clli->cfg_instance) * 2 +
1
;
+ sizeof(clli->cfg_instance) * 2 +
4
;
OBD_ALLOC(inst_name, inst_len);
if (inst_name == NULL)
GOTO(out, rc = -ENOMEM);