From 5b33cf833e095b1705675e0a5ee118eaf5c3cf14 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 4 Nov 2002 00:27:13 +0000 Subject: [PATCH] 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. --- lustre/ldlm/ldlm_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.8.3.1