From 98291a7763a8b3db9135b9625de483e2821c6c96 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 18 Oct 2004 18:05:00 -0700 Subject: [PATCH] [PATCH] remove set_fs_root/set_fs_pwd Not exactly something we want modules to mess around with. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/namespace.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index 961b6ae004580..b09b08807f2cb 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1209,8 +1209,6 @@ void set_fs_root(struct fs_struct *fs, struct vfsmount *mnt, } } -EXPORT_SYMBOL(set_fs_root); - /* * Replace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values. * It can block. Requires the big lock held. @@ -1234,8 +1232,6 @@ void set_fs_pwd(struct fs_struct *fs, struct vfsmount *mnt, } } -EXPORT_SYMBOL(set_fs_pwd); - static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd) { struct task_struct *g, *p; -- 2.53.0