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-5997 mdd: initialize mdd's obd->obd_vars
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_lproc.c
diff --git
a/lustre/mdd/mdd_lproc.c
b/lustre/mdd/mdd_lproc.c
index
d9174ac
..
7bf5e33
100644
(file)
--- a/
lustre/mdd/mdd_lproc.c
+++ b/
lustre/mdd/mdd_lproc.c
@@
-298,7
+298,7
@@
static struct lprocfs_vars lprocfs_mdd_obd_vars[] = {
int mdd_procfs_init(struct mdd_device *mdd, const char *name)
{
- struct obd_device *obd =
class_name2obd(name
);
+ struct obd_device *obd =
mdd2obd_dev(mdd
);
struct obd_type *type;
int rc;
ENTRY;