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
fix handling ost additional.
[fs/lustre-release.git]
/
lustre
/
mgs
/
mgs_fs.c
diff --git
a/lustre/mgs/mgs_fs.c
b/lustre/mgs/mgs_fs.c
index
4b87e84
..
2812f84
100644
(file)
--- a/
lustre/mgs/mgs_fs.c
+++ b/
lustre/mgs/mgs_fs.c
@@
-73,9
+73,9
@@
static int mgs_export_stats_init(struct obd_device *obd, struct obd_export *exp,
return rc;
}
return rc;
}
- if (
!obd->md_stats
&&
-
lprocfs_alloc_md_stats(obd, LPROC_MGS_LAST
))
-
return rc;
+ if (
(obd->md_stats == NULL)
&&
+
(rc = lprocfs_alloc_md_stats(obd, LPROC_MGS_LAST)
))
+ return rc;
if (newnid) {
/* Always add in ldlm_stats */
exp->exp_nid_stats->nid_ldlm_stats =
if (newnid) {
/* Always add in ldlm_stats */
exp->exp_nid_stats->nid_ldlm_stats =