Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4838f43
)
Build properly with lprocfs disabled.
author
adilger
<adilger>
Sat, 2 Nov 2002 00:26:06 +0000
(
00:26
+0000)
committer
adilger
<adilger>
Sat, 2 Nov 2002 00:26:06 +0000
(
00:26
+0000)
lustre/ldlm/ldlm_resource.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_resource.c
b/lustre/ldlm/ldlm_resource.c
index
954e46c
..
2f670f8
100644
(file)
--- 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)
{