From 7822491beb681ab83895ccd2d552ba7d15d2fd5a Mon Sep 17 00:00:00 2001 From: tappro Date: Fri, 7 Apr 2006 14:25:56 +0000 Subject: [PATCH] init procfs correctly --- lustre/osd/osd_handler.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lustre/osd/osd_handler.c b/lustre/osd/osd_handler.c index 80fb894..d2ea242 100644 --- a/lustre/osd/osd_handler.c +++ b/lustre/osd/osd_handler.c @@ -47,9 +47,6 @@ /* class_register_type(), class_unregister_type(), class_get_type() */ #include - -#include - #include "osd_internal.h" static int lu_device_is_osd (const struct lu_device *d); @@ -281,6 +278,8 @@ static struct obd_ops osd_obd_device_ops = { .o_owner = THIS_MODULE }; +LPROCFS_INIT_VARS(osd, lprocfs_osd_module_vars, lprocfs_osd_obd_vars); + static int __init osd_mod_init(void) { struct lprocfs_static_vars lvars; -- 1.8.3.1