nvme.h: add an enum for cns values
[linux-2.6-block.git] / kernel / utsname.c
index 35587b76faa33b1c0db188de29af0639137712f6..6976cd47dcf6028270eee444228eca7a340ca2d2 100644 (file)
@@ -154,10 +154,16 @@ static int utsns_install(struct nsproxy *nsproxy, struct ns_common *new)
        return 0;
 }
 
+static struct user_namespace *utsns_owner(struct ns_common *ns)
+{
+       return to_uts_ns(ns)->user_ns;
+}
+
 const struct proc_ns_operations utsns_operations = {
        .name           = "uts",
        .type           = CLONE_NEWUTS,
        .get            = utsns_get,
        .put            = utsns_put,
        .install        = utsns_install,
+       .owner          = utsns_owner,
 };