diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-09-17 12:28:02 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-09-19 14:26:18 +0200 |
| commit | f74ca6da113d5d4b21c00bb4da3f3c137162b4fe (patch) | |
| tree | 4ab20d29db09fa371f24c1b36170da0d2c74abf9 /include/linux/ns_common.h | |
| parent | b2a0b192084acd0a86d66cbbc61e17ba1f5bd583 (diff) | |
| download | linux-f74ca6da113d5d4b21c00bb4da3f3c137162b4fe.tar.gz linux-f74ca6da113d5d4b21c00bb4da3f3c137162b4fe.tar.bz2 linux-f74ca6da113d5d4b21c00bb4da3f3c137162b4fe.zip | |
nscommon: move to separate file
It's really awkward spilling the ns common infrastructure into multiple
headers. Move it to a separate file.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/ns_common.h')
| -rw-r--r-- | include/linux/ns_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ns_common.h b/include/linux/ns_common.h index 7224072cccc5..78b17fe80b62 100644 --- a/include/linux/ns_common.h +++ b/include/linux/ns_common.h @@ -31,6 +31,9 @@ struct ns_common { }; }; +int ns_common_init(struct ns_common *ns, const struct proc_ns_operations *ops, + bool alloc_inum); + #define to_ns_common(__ns) \ _Generic((__ns), \ struct cgroup_namespace *: &(__ns)->ns, \ |
