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-9567 mgc: set cfg_instance to NULL for sptlrpc case
[fs/lustre-release.git]
/
lustre
/
mgc
/
mgc_request.c
diff --git
a/lustre/mgc/mgc_request.c
b/lustre/mgc/mgc_request.c
index
e6fc636
..
4bc226c
100644
(file)
--- a/
lustre/mgc/mgc_request.c
+++ b/
lustre/mgc/mgc_request.c
@@
-296,6
+296,10
@@
static struct config_llog_data *config_log_find_or_add(struct obd_device *obd,
struct config_llog_data *cld;
lcfg.cfg_instance = sb != NULL ? (void *)sb : (void *)obd;
+
+ if (type == CONFIG_T_SPTLRPC)
+ lcfg.cfg_instance = NULL;
+
cld = config_log_find(logname, &lcfg);
if (unlikely(cld != NULL))
return cld;