* [PATCH 2.5.11] nfsd module breakage
@ 2002-04-29 10:01 Stelian Pop
0 siblings, 0 replies; only message in thread
From: Stelian Pop @ 2002-04-29 10:01 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: viro, neilb
NFSD uses path_lookup, which changed from a static inline into a
kernel internal function.
The new path_lookup is not exported to modules, making at least
NFSD break when compiled as a modules.
The attached patch exports the new function to modules.
I'll leave up to Al to decide if this must be a _GPL only export...
Stelian.
===== fs/Makefile 1.21 vs edited =====
--- 1.21/fs/Makefile Wed Apr 17 20:24:55 2002
+++ edited/fs/Makefile Mon Apr 29 11:34:40 2002
@@ -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 namei.o
mod-subdirs := nls
obj-y := open.o read_write.o devices.o file_table.o buffer.o \
===== fs/namei.c 1.41 vs edited =====
--- 1.41/fs/namei.c Wed Apr 24 13:29:11 2002
+++ edited/fs/namei.c Mon Apr 29 11:37:52 2002
@@ -22,6 +22,7 @@
#include <linux/dnotify.h>
#include <linux/smp_lock.h>
#include <linux/personality.h>
+#include <linux/module.h>
#include <asm/namei.h>
#include <asm/uaccess.h>
@@ -842,6 +843,7 @@
nd->flags |= LOOKUP_LOCKED;
return (path_walk(name, nd));
}
+EXPORT_SYMBOL(path_lookup);
/*
* Restricted form of lookup. Doesn't follow links, single-component only,
--
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-29 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-29 10:01 [PATCH 2.5.11] nfsd module breakage Stelian Pop
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®