Whamcloud - gitweb
b=14184
[fs/lustre-release.git] / lustre / lmv / lmv_internal.h
index 4e8c721..d4cce7f 100644 (file)
@@ -223,6 +223,14 @@ static inline void lmv_update_body(struct mdt_body *body,
 }
 
 /* lproc_lmv.c */
+#ifdef LPROCFS
+void lprocfs_lmv_init_vars(struct lprocfs_static_vars *lvars);
+#else
+static inline void lprocfs_lmv_init_vars(struct lprocfs_static_vars *lvars)
+{
+        memset(lvars, 0, sizeof(*lvars));
+}
+#endif
 extern struct file_operations lmv_proc_target_fops;
 
 #endif