This commit was generated by cvs2svn to compensate for changes in r1129,
[linux-2.6.git] / kernel / vserver / namespace.c
index 84e58c5..c1dc38d 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <linux/utsname.h>
 #include <linux/sched.h>
+#include <linux/vs_base.h>
 #include <linux/vs_context.h>
 #include <linux/vserver/namespace.h>
 #include <linux/vserver/namespace_cmd.h>
@@ -85,16 +86,6 @@ out_put:
        return ret;
 }
 
-int vc_cleanup_namespace(uint32_t id, void __user *data)
-{
-       // down_write(&current->namespace->sem);
-       spin_lock(&vfsmount_lock);
-       umount_unused(current->namespace->root, current->fs);
-       spin_unlock(&vfsmount_lock);
-       // up_write(&current->namespace->sem);
-       return 0;
-}
-
 int vc_set_namespace(uint32_t id, void __user *data)
 {
        struct fs_struct *fs;