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-580: update mgc llog process code
[fs/lustre-release.git]
/
lustre
/
mgc
/
mgc_internal.h
diff --git
a/lustre/mgc/mgc_internal.h
b/lustre/mgc/mgc_internal.h
index
61ffe55
..
eb5f403
100644
(file)
--- a/
lustre/mgc/mgc_internal.h
+++ b/
lustre/mgc/mgc_internal.h
@@
-55,4
+55,9
@@
static void lprocfs_mgc_init_vars(struct lprocfs_static_vars *lvars)
int mgc_process_log(struct obd_device *mgc, struct config_llog_data *cld);
+static inline int cld_is_sptlrpc(struct config_llog_data *cld)
+{
+ return cld->cld_type == CONFIG_T_SPTLRPC;
+}
+
#endif /* _MGC_INTERNAL_H */