From e693458ef469e961e8af876bf119f385a1c458a9 Mon Sep 17 00:00:00 2001 From: adilger Date: Sat, 2 Nov 2002 00:26:06 +0000 Subject: [PATCH] Build properly with lprocfs disabled. --- lustre/ldlm/ldlm_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/ldlm/ldlm_resource.c b/lustre/ldlm/ldlm_resource.c index 954e46c..2f670f8 100644 --- a/lustre/ldlm/ldlm_resource.c +++ b/lustre/ldlm/ldlm_resource.c @@ -41,6 +41,7 @@ void ldlm_proc_cleanup(struct obd_device *obd) } /* 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) { @@ -51,6 +52,7 @@ static int lprocfs_ll_rd(char *page, char **start, off_t off, return len; } +#endif struct ldlm_namespace *ldlm_namespace_new(char *name, __u32 client) { -- 1.8.3.1