nsfs: add ioctl to get a parent namespace
[linux-2.6-block.git] / kernel / user_namespace.c
index 0ef683a03c20840a558b19d3f4a3c2e2fc54997f..a58a219b99c68e250c929e3498631cbc5c9ead27 100644 (file)
@@ -1034,6 +1034,7 @@ const struct proc_ns_operations userns_operations = {
        .put            = userns_put,
        .install        = userns_install,
        .owner          = userns_owner,
+       .get_parent     = ns_get_owner,
 };
 
 static __init int user_namespaces_init(void)