driver core: Add a guard() definition for the device_lock()
[platform/kernel/linux-starfive.git] / include / linux / ns_common.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_NS_COMMON_H
3 #define _LINUX_NS_COMMON_H
4
5 #include <linux/refcount.h>
6
7 struct proc_ns_operations;
8
9 struct ns_common {
10         atomic_long_t stashed;
11         const struct proc_ns_operations *ops;
12         unsigned int inum;
13         refcount_t count;
14 };
15
16 #endif