X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fofd%2Fofd_internal.h;h=2e75de5c52ac056de29cb60fb8a68d46ff3afcc3;hp=4f12506d9a90dc5b8a78884768294f88cc6c1f0a;hb=0d92e17afa7ff7024d3e18268a2e1a89cba4d5bd;hpb=794a5c02ebeb4eb2e9490e4f16cafcc9bf075e7b diff --git a/lustre/ofd/ofd_internal.h b/lustre/ofd/ofd_internal.h index 4f12506..2e75de5 100644 --- a/lustre/ofd/ofd_internal.h +++ b/lustre/ofd/ofd_internal.h @@ -403,13 +403,9 @@ int ofd_txn_stop_cb(const struct lu_env *env, struct thandle *txn, /* lproc_ofd.c */ #ifdef LPROCFS -void lprocfs_ofd_init_vars(struct lprocfs_static_vars *lvars); +extern struct lprocfs_seq_vars lprocfs_ofd_obd_vars[]; void ofd_stats_counter_init(struct lprocfs_stats *stats); #else -static void lprocfs_ofd_init_vars(struct lprocfs_static_vars *lvars) -{ - memset(lvars, 0, sizeof(*lvars)); -} static inline void ofd_stats_counter_init(struct lprocfs_stats *stats) {} #endif