Whamcloud - gitweb
LU-5092 nodemap: transfer nodemaps between MGS, MDTs, and OSTs
[fs/lustre-release.git] / lustre / mgc / mgc_internal.h
index d854636..efbe0b8 100644 (file)
@@ -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 */