summaryrefslogtreecommitdiffstats
path: root/init/version.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-11-01 07:32:53 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-04 20:34:47 +0100
commit33c429405a2c8d9e42afb9fee88a63cfb2de1e98 (patch)
treed2ffe096cd36852049b844c8befd1ba0ba6cf18c /init/version.c
parentnew helpers: ns_alloc_inum/ns_free_inum (diff)
downloadlinux-33c429405a2c8d9e42afb9fee88a63cfb2de1e98.tar.xz
linux-33c429405a2c8d9e42afb9fee88a63cfb2de1e98.zip
copy address of proc_ns_ops into ns_common
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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);