Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae54f24
)
init procfs correctly
author
tappro
<tappro>
Fri, 7 Apr 2006 14:25:56 +0000
(14:25 +0000)
committer
tappro
<tappro>
Fri, 7 Apr 2006 14:25:56 +0000
(14:25 +0000)
lustre/osd/osd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/osd/osd_handler.c
b/lustre/osd/osd_handler.c
index
80fb894
..
d2ea242
100644
(file)
--- 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 <linux/obd_class.h>
-
-#include <linux/lu_object.h>
-
#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;