* PATCH: 2.5.70: Export set_fs_root and set_fs_pwd
@ 2003-06-13 5:42 H. J. Lu
2003-06-13 6:46 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: H. J. Lu @ 2003-06-13 5:42 UTC (permalink / raw)
To: linux kernel
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
In 2.5.70, intermezzo fs can be configured as module. But intermezzo
references set_fs_root and set_fs_pwd:
# find -name *.[ch] | xargs grep set_fs_root
./include/linux/fs_struct.h:extern void set_fs_root(struct fs_struct *, struct
vfsmount *, struct dentry *);
./fs/intermezzo/intermezzo_fs.h: set_fs_root(current->fs,
new->rootmnt, new->root);
./fs/intermezzo/intermezzo_fs.h: set_fs_root(current->fs,
saved->rootmnt, saved->root);
./fs/open.c: set_fs_root(current->fs, nd.mnt, nd.dentry);
./fs/namespace.c:void set_fs_root(struct fs_struct *fs, struct vfsmount *mnt,
./fs/namespace.c: set_fs_root(fs, new_nd->mnt,
new_nd->dentry);
./fs/namespace.c: set_fs_root(current->fs, namespace->root,
namespace->root->mnt_root);
They should be exported.
H.J.
[-- Attachment #2: fs.patch --]
[-- Type: text/plain, Size: 266 bytes --]
--- linux/fs/namespace.c.fs Thu Jun 12 09:13:28 2003
+++ linux/fs/namespace.c Thu Jun 12 15:13:03 2003
@@ -1138,3 +1138,6 @@ void __init mnt_init(unsigned long mempa
init_rootfs();
init_mount_tree();
}
+
+EXPORT_SYMBOL(set_fs_root);
+EXPORT_SYMBOL(set_fs_pwd);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PATCH: 2.5.70: Export set_fs_root and set_fs_pwd
2003-06-13 5:42 PATCH: 2.5.70: Export set_fs_root and set_fs_pwd H. J. Lu
@ 2003-06-13 6:46 ` Christoph Hellwig
2003-06-13 6:53 ` H. J. Lu
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2003-06-13 6:46 UTC (permalink / raw)
To: H. J. Lu; +Cc: linux kernel
On Thu, Jun 12, 2003 at 10:42:28PM -0700, H. J. Lu wrote:
> In 2.5.70, intermezzo fs can be configured as module. But intermezzo
> references set_fs_root and set_fs_pwd:
I'd rather see a very good reason why intermezzo needs this first.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PATCH: 2.5.70: Export set_fs_root and set_fs_pwd
2003-06-13 6:46 ` Christoph Hellwig
@ 2003-06-13 6:53 ` H. J. Lu
0 siblings, 0 replies; 3+ messages in thread
From: H. J. Lu @ 2003-06-13 6:53 UTC (permalink / raw)
To: Christoph Hellwig, linux kernel
On Fri, Jun 13, 2003 at 07:46:07AM +0100, Christoph Hellwig wrote:
> On Thu, Jun 12, 2003 at 10:42:28PM -0700, H. J. Lu wrote:
> > In 2.5.70, intermezzo fs can be configured as module. But intermezzo
> > references set_fs_root and set_fs_pwd:
>
> I'd rather see a very good reason why intermezzo needs this first.
I have no idea. I just happened to configure intermezzo as a module
and it failed.
H.J.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-13 6:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-13 5:42 PATCH: 2.5.70: Export set_fs_root and set_fs_pwd H. J. Lu
2003-06-13 6:46 ` Christoph Hellwig
2003-06-13 6:53 ` H. J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox