Whamcloud - gitweb
Don't include lprocfs_ll_rd() at all. lprocfs defines a no-op function
authoradilger <adilger>
Mon, 4 Nov 2002 00:27:13 +0000 (00:27 +0000)
committeradilger <adilger>
Mon, 4 Nov 2002 00:27:13 +0000 (00:27 +0000)
stub for this.  When lprocfs isn't available, we will get nothing from
these functions, but I don't think that is a big deal.

lustre/ldlm/ldlm_resource.c

index 2f670f8..0bb0df9 100644 (file)
@@ -40,8 +40,8 @@ void ldlm_proc_cleanup(struct obd_device *obd)
         proc_lustre_remove_obd_entry("namespaces", obd);
 }
 
+#if 0
 /* FIXME: This can go away when we start to really use lprocfs */
-#ifndef LPROC_SNMP
 static int lprocfs_ll_rd(char *page, char **start, off_t off,
                          int count, int *eof, void *data)
 {