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-3336 lfsck: regenerate lost layout EA
[fs/lustre-release.git]
/
lustre
/
mgc
/
libmgc.c
diff --git
a/lustre/mgc/libmgc.c
b/lustre/mgc/libmgc.c
index
bcc3617
..
49a329a
100644
(file)
--- a/
lustre/mgc/libmgc.c
+++ b/
lustre/mgc/libmgc.c
@@
-158,6
+158,9
@@
struct obd_ops mgc_obd_ops = {
int __init mgc_init(void)
{
- return class_register_type(&mgc_obd_ops, NULL,
- NULL, LUSTRE_MGC_NAME, NULL);
+ return class_register_type(&mgc_obd_ops, NULL, NULL,
+#ifndef HAVE_ONLY_PROCFS_SEQ
+ NULL,
+#endif
+ LUSTRE_MGC_NAME, NULL);
}