From: adilger Date: Mon, 4 Nov 2002 00:27:13 +0000 (+0000) Subject: Don't include lprocfs_ll_rd() at all. lprocfs defines a no-op function X-Git-Tag: 0.5.16~30 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5b33cf833e095b1705675e0a5ee118eaf5c3cf14;p=fs%2Flustre-release.git Don't include lprocfs_ll_rd() at all. lprocfs defines a no-op function 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. --- diff --git a/lustre/ldlm/ldlm_resource.c b/lustre/ldlm/ldlm_resource.c index 2f670f8..0bb0df9 100644 --- a/lustre/ldlm/ldlm_resource.c +++ b/lustre/ldlm/ldlm_resource.c @@ -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) {