From: Peter Osterlund <petero2@telia.com>
To: linux-kernel@vger.kernel.org
Cc: Alexander Viro <viro@math.psu.edu>
Subject: modular nfs broken in 2.5.1-pre5
Date: 01 Dec 2001 13:47:14 +0100 [thread overview]
Message-ID: <m2bshj9kfh.fsf@ppro.localdomain> (raw)
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 petero2@telia.com
Sköndalsvägen 35 http://w1.894.telia.com/~u89404340
S-128 66 Sköndal +46 8 942647
Sweden
reply other threads:[~2001-12-01 12:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bshj9kfh.fsf@ppro.localdomain \
--to=petero2@telia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@math.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®