X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmgs%2Fmgs_internal.h;h=69acba914b6f8029268d0c0352f05d23e10bcd55;hb=f2b264f2049554d69c1cc6f0c0ebc5d3e196a068;hp=9fd125039dcad8654f118c12798160124b96703d;hpb=d2d56f38da01001c92a09afc6b52b5acbd9bc13c;p=fs%2Flustre-release.git diff --git a/lustre/mgs/mgs_internal.h b/lustre/mgs/mgs_internal.h index 9fd1250..69acba9 100644 --- a/lustre/mgs/mgs_internal.h +++ b/lustre/mgs/mgs_internal.h @@ -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 */