lkml.org 
[lkml]   [2003]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: 2.5.70: Export set_fs_root and set_fs_pwd
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.

--- 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);
\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.052 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site