Whamcloud - gitweb
b=14184
[fs/lustre-release.git] / lustre / mgs / mgs_internal.h
index 9fd1250..69acba9 100644 (file)
@@ -64,6 +64,7 @@ int mgs_fs_cleanup(struct obd_device *obddev);
 int lproc_mgs_setup(struct obd_device *dev);
 int lproc_mgs_add_live(struct obd_device *obd, struct fs_db *fsdb);
 int lproc_mgs_del_live(struct obd_device *obd, struct fs_db *fsdb);
+void lprocfs_mgs_init_vars(struct lprocfs_static_vars *lvars);
 #else
 static inline int lproc_mgs_setup(struct obd_device *dev) 
 {return 0;}
@@ -71,6 +72,10 @@ static int lproc_mgs_add_live(struct obd_device *obd, struct fs_db *fsdb)
 {return 0;}
 static int lproc_mgs_del_live(struct obd_device *obd, struct fs_db *fsdb)
 {return 0;}
+static void lprocfs_mgs_init_vars(struct lprocfs_static_vars *lvars)
+{
+        memset(lvars, 0, sizeof(*lvars));
+}
 #endif
 
 #endif /* _MGS_INTERNAL_H */