[Patch - 2.4.17++] Fix undefined ksym in minix.o, ext2.o, sysv.o

Kristofer T. Karas (ktk@enterprise.bidmc.harvard.edu)
Tue, 22 Jan 2002 17:16:45 -0500


Marcelo, et al,

Compiling minix as a module results in an unresolved symbol,
waitfor_one_page:

pinhead:~# depmod -a -e
depmod: *** Unresolved symbols in
/lib/modules/BootsAs/n18p4/kernel/fs/minix/minix.o
depmod: waitfor_one_page
pinhead:~#

Looks as if EXT2 and SYSV are also affected.

Trivial patch [tested on i386] appended.

Kris

##################

--- linux-2.4.18p6/kernel/ksyms.c Tue Jan 22 17:12:25 2002
+++ linux/kernel/ksyms.c Tue Jan 22 17:01:25 2002
@@ -268,6 +268,9 @@
EXPORT_SYMBOL(lock_may_read);
EXPORT_SYMBOL(lock_may_write);
EXPORT_SYMBOL(dcache_readdir);
+#if defined(CONFIG_EXT2_FS)||defined(CONFIG_MINIX_FS)||defined(CONFIG_SYSV_FS)
+EXPORT_SYMBOL(waitfor_one_page);
+#endif

/* for stackable file systems (lofs, wrapfs, cryptfs, etc.) */
EXPORT_SYMBOL(default_llseek);
-
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/