From: tappro Date: Fri, 7 Apr 2006 14:25:56 +0000 (+0000) Subject: init procfs correctly X-Git-Tag: v1_8_0_110~486^2~2076 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7822491beb681ab83895ccd2d552ba7d15d2fd5a;p=fs%2Flustre-release.git init procfs correctly --- 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;