2009-10-01 14:06:57

by Suresh Jayaraman

[permalink] [raw]
Subject: [PATCH 17/31] Fix initialization of ipv4_route_lock

From: Jeff Mahoney <[email protected]>

It's CONFIG_PROC_FS, not CONFIG_PROCFS.

Signed-off-by: Jeff Mahoney <[email protected]>
Signed-off-by: Suresh Jayaraman <[email protected]>
---
net/ipv4/route.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: mmotm/net/ipv4/route.c
===================================================================
--- mmotm.orig/net/ipv4/route.c
+++ mmotm/net/ipv4/route.c
@@ -3483,7 +3483,7 @@ int __init ip_rt_init(void)
ipv4_dst_ops.gc_thresh = (rt_hash_mask + 1);
ip_rt_max_size = (rt_hash_mask + 1) * 16;

-#ifdef CONFIG_PROCFS
+#ifdef CONFIG_PROC_FS
mutex_init(&ipv4_route_lock);
#endif