summaryrefslogtreecommitdiff
path: root/init/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/version.c')
-rw-r--r--init/version.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/version.c b/init/version.c
index e23dbdabb26b..fe41a63efed6 100644
--- a/init/version.c
+++ b/init/version.c
@@ -36,6 +36,9 @@ struct uts_namespace init_uts_ns = {
},
.user_ns = &init_user_ns,
.ns.inum = PROC_UTS_INIT_INO,
+#ifdef CONFIG_UTS_NS
+ .ns.ops = &utsns_operations,
+#endif
};
EXPORT_SYMBOL_GPL(init_uts_ns);