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-5823 clio: add coo_obd_info_get and coo_data_version
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_lproc.c
diff --git
a/lustre/mdd/mdd_lproc.c
b/lustre/mdd/mdd_lproc.c
index
636d297
..
7bf5e33
100644
(file)
--- a/
lustre/mdd/mdd_lproc.c
+++ b/
lustre/mdd/mdd_lproc.c
@@
-27,7
+27,7
@@
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2012, 201
3
, Intel Corporation.
+ * Copyright (c) 2012, 201
4
, Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-293,12
+293,12
@@
static struct lprocfs_vars lprocfs_mdd_obd_vars[] = {
.fops = &mdd_lfsck_namespace_fops },
{ .name = "lfsck_layout",
.fops = &mdd_lfsck_layout_fops },
.fops = &mdd_lfsck_namespace_fops },
{ .name = "lfsck_layout",
.fops = &mdd_lfsck_layout_fops },
- {
0
}
+ {
NULL
}
};
int mdd_procfs_init(struct mdd_device *mdd, const char *name)
{
};
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;
struct obd_type *type;
int rc;
ENTRY;