remove set_fs_root/set_fs_pwd
PATCH 1/1 remove set_fs_root/set_fs_pwd
not exactly something we want modules to mess around with
fs/namespace.c +0 -4
@@ -1208,8 +1206,6 @@ } } -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.
@@ -1232,8 +1228,6 @@mntput (old_pwdmnt); } } - -EXPORT_SYMBOL (set_fs_pwd);static void chroot_fs_refs (struct nameidata *old_nd,struct nameidata *new_nd) {