]> git.hungrycats.org Git - linux/commitdiff
[PATCH] remove set_fs_root/set_fs_pwd
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2004 01:05:00 +0000 (18:05 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:05:00 +0000 (18:05 -0700)
Not exactly something we want modules to mess around with.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/namespace.c

index 961b6ae0045804b6152d5ee77fdcb0409eea076e..b09b08807f2cb333383ee46a1f830f83d0a454c6 100644 (file)
@@ -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;