Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-3319 procfs: move mdd/ofd proc handling to seq_files
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_internal.h
diff --git
a/lustre/ofd/ofd_internal.h
b/lustre/ofd/ofd_internal.h
index
4f12506
..
2e75de5
100644
(file)
--- 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
/* 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
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
static inline void ofd_stats_counter_init(struct lprocfs_stats *stats) {}
#endif