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-5092 nodemap: transfer nodemaps between MGS, MDTs, and OSTs
[fs/lustre-release.git]
/
lustre
/
mgc
/
mgc_internal.h
diff --git
a/lustre/mgc/mgc_internal.h
b/lustre/mgc/mgc_internal.h
index
d854636
..
efbe0b8
100644
(file)
--- a/
lustre/mgc/mgc_internal.h
+++ b/
lustre/mgc/mgc_internal.h
@@
-61,4
+61,9
@@
static inline int cld_is_recover(struct config_llog_data *cld)
return cld->cld_type == CONFIG_T_RECOVER;
}
+static inline int cld_is_nodemap(struct config_llog_data *cld)
+{
+ return cld->cld_type == CONFIG_T_NODEMAP;
+}
+
#endif /* _MGC_INTERNAL_H */