Whamcloud - gitweb
LU-5657 doc: allow the use of rst2man to build man pages
[fs/lustre-release.git] / lustre / lmv / lproc_lmv.c
index 352a578..1f8b5a6 100644 (file)
@@ -44,7 +44,7 @@
 
 #include "lmv_internal.h"
 
-#ifndef LPROCFS
+#ifndef CONFIG_PROC_FS
 static struct lprocfs_vars lprocfs_module_vars[] = { {0} };
 static struct lprocfs_vars lprocfs_obd_vars[] = { {0} };
 #else
@@ -205,7 +205,7 @@ static int lmv_target_seq_open(struct inode *inode, struct file *file)
 
 LPROC_SEQ_FOPS_RO_TYPE(lmv, uuid);
 
-struct lprocfs_seq_vars lprocfs_lmv_obd_vars[] = {
+struct lprocfs_vars lprocfs_lmv_obd_vars[] = {
        { .name =       "numobd",
          .fops =       &lmv_numobd_fops        },
        { .name =       "placement",
@@ -216,7 +216,7 @@ struct lprocfs_seq_vars lprocfs_lmv_obd_vars[] = {
          .fops =       &lmv_uuid_fops          },
        { .name =       "desc_uuid",
          .fops =       &lmv_desc_uuid_fops     },
-       { 0 }
+       { NULL }
 };
 
 struct file_operations lmv_proc_target_fops = {
@@ -226,4 +226,4 @@ struct file_operations lmv_proc_target_fops = {
         .llseek               = seq_lseek,
         .release              = seq_release,
 };
-#endif /* LPROCFS */
+#endif /* CONFIG_PROC_FS */