]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - ipc/namespace.c
octeontx2-pf: Forward error codes to VF
[mirror_ubuntu-jammy-kernel.git] / ipc / namespace.c
index ae83f0f2651b7dad5acb3d7210c8ef47d4cca6a3..8970e5959e725faa356e15321ea331a60abfed21 100644 (file)
@@ -172,6 +172,23 @@ void put_ipc_ns(struct ipc_namespace *ns)
                        schedule_work(&free_ipc_work);
        }
 }
+EXPORT_SYMBOL(put_ipc_ns);
+
+struct ipc_namespace *get_ipc_ns_exported(struct ipc_namespace *ns)
+{
+       return get_ipc_ns(ns);
+}
+EXPORT_SYMBOL(get_ipc_ns_exported);
+
+struct ipc_namespace *show_init_ipc_ns(void)
+{
+#if defined(CONFIG_IPC_NS)
+       return &init_ipc_ns;
+#else
+       return NULL;
+#endif
+}
+EXPORT_SYMBOL(show_init_ipc_ns);
 
 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns)
 {