Whamcloud - gitweb
LU-5275 lprocfs: replace LPROCFS with CONFIG_PROC_FS
[fs/lustre-release.git] / lustre / mdc / lproc_mdc.c
index 8bf0da3..faaf490 100644 (file)
@@ -42,7 +42,7 @@
 
 #include "mdc_internal.h"
 
-#ifdef LPROCFS
+#ifdef CONFIG_PROC_FS
 
 static int mdc_max_rpcs_in_flight_seq_show(struct seq_file *m, void *v)
 {
@@ -142,6 +142,6 @@ struct lprocfs_seq_vars lprocfs_mdc_obd_vars[] = {
          .fops =       &mdc_state_fops                 },
        { .name =       "pinger_recov",
          .fops =       &mdc_pinger_recov_fops          },
-       { 0 }
+       { NULL }
 };
-#endif /* LPROCFS */
+#endif /* CONFIG_PROC_FS */