Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
435d5f4b AV |
2 | #ifndef _LINUX_NS_COMMON_H |
3 | #define _LINUX_NS_COMMON_H | |
4 | ||
2024f91e CB |
5 | #include <linux/refcount.h> |
6 | ||
33c42940 AV |
7 | struct proc_ns_operations; |
8 | ||
435d5f4b | 9 | struct ns_common { |
e149ed2b | 10 | atomic_long_t stashed; |
33c42940 | 11 | const struct proc_ns_operations *ops; |
435d5f4b | 12 | unsigned int inum; |
2024f91e | 13 | refcount_t count; |
435d5f4b AV |
14 | }; |
15 | ||
16 | #endif |