mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stelian Pop <stelian.pop@fr.alcove.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: viro@math.psu.edu, neilb@cse.unsw.edu.au
Subject: [PATCH 2.5.11] nfsd module breakage
Date: Mon, 29 Apr 2002 12:01:46 +0200	[thread overview]
Message-ID: <20020429100146.GE2740@come.alcove-fr> (raw)

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

                 reply	other threads:[~2002-04-29 10:02 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=20020429100146.GE2740@come.alcove-fr \
    --to=stelian.pop@fr.alcove.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    --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®