[PATCH 2.5.67] Trivial for ip_amanda_lock

Osamu Tomita (tomita@cinet.co.jp)
Wed, 9 Apr 2003 15:42:31 +0900


CONFIG_SMP=y and CONFIG_IP_NF_AMANDA=m cause depmod error.
Here is a quick fix patch.

diff -Nru linux-2.5.67/net/ipv4/netfilter/ip_conntrack_amanda.c linux-2.5.67-quick-fix/net/ipv4/netfilter/ip_conntrack_amanda.c
--- linux-2.5.67/net/ipv4/netfilter/ip_conntrack_amanda.c 2003-04-05 10:06:24.000000000 +0900
+++ linux-2.5.67-quick-fix/net/ipv4/netfilter/ip_conntrack_amanda.c 2003-04-05 12:26:05.000000000 +0900
@@ -37,6 +37,7 @@
MODULE_PARM_DESC(master_timeout, "timeout for the master connection");

DECLARE_LOCK(ip_amanda_lock);
+EXPORT_SYMBOL(ip_amanda_lock);
struct module *ip_conntrack_amanda = THIS_MODULE;

#define MAXMATCHLEN 6

Regards,
Osamu Tomita <tomita@cinet.co.jp>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/