Hi,
Compiling nfs as a module doesn't work because of missing symbols.
The patch below works for me.
--- linux/fs/Makefile.old Sat Dec 1 13:26:58 2001
+++ linux/fs/Makefile Sat Dec 1 13:15:42 2001
@@ -7,7 +7,7 @@
O_TARGET := fs.o
-export-objs := filesystems.o open.o dcache.o buffer.o bio.o
+export-objs := filesystems.o open.o dcache.o buffer.o bio.o seq_file.o
mod-subdirs := nls
obj-y := open.o read_write.o devices.o file_table.o buffer.o \
--- linux/fs/seq_file.c.old Sat Dec 1 13:26:49 2001
+++ linux/fs/seq_file.c Sat Dec 1 12:57:17 2001
@@ -8,6 +8,7 @@
#include <linux/fs.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
+#include <linux/module.h>
#include <asm/uaccess.h>
@@ -275,6 +276,7 @@
m->count = p - m->buf;
return 0;
}
+EXPORT_SYMBOL(seq_escape);
int seq_printf(struct seq_file *m, const char *f, ...)
{
@@ -293,3 +295,4 @@
m->count = m->size;
return -1;
}
+EXPORT_SYMBOL(seq_printf);
--
Peter ?sterlund [email protected]
Sk?ndalsv?gen 35 http://w1.894.telia.com/~u89404340
S-128 66 Sk?ndal +46 8 942647
Sweden