From: adilger Date: Sat, 2 Nov 2002 00:26:06 +0000 (+0000) Subject: Build properly with lprocfs disabled. X-Git-Tag: 0.5.16~38 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e693458ef469e961e8af876bf119f385a1c458a9;p=fs%2Flustre-release.git Build properly with lprocfs disabled. --- 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) {