SMB fs as a module in 2.1.31

Hugo HAAS (hugo@via.ecp.fr)
Thu, 3 Apr 1997 14:54:26 +0200 (CEST)


There's a compile error if you put the SMB filesystem as a module in the
kernel.

The test "#ifdef CONFIG_SMB_FS_MODULE" is done twice in net/netsyms.c. :)

Here's the patch :

--- netsyms.c.orig Thu Apr 3 13:43:32 1997
+++ netsyms.c Thu Apr 3 14:19:45 1997
@@ -150,10 +150,6 @@
EXPORT_SYMBOL(scm_detach_fds);
#endif

-#ifdef CONFIG_SMB_FS_MODULE
-EXPORT_SYMBOL(scm_detach_fds);
-#endif
-
#ifdef CONFIG_INET
/* Internet layer registration */
EXPORT_SYMBOL(inet_add_protocol);

--
Hugo HAAS, Engineering Student at Ecole Centrale Paris, France
E-mail : hugo@via.ecp.fr	IRC : Bartman