diff options
author | Christian Brauner <brauner@kernel.org> | 2025-09-17 12:28:08 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-09-19 16:22:36 +0200 |
commit | be5f21d3985f00827e09b798f7a07ebd6dd7f54a (patch) | |
tree | a40d44f79e5762729dee07a3ee2373eb74568ec5 /include/linux/proc_ns.h | |
parent | 5612ff3ec588be09f11a9424db6d1186bcdeb3fa (diff) |
ns: add ns_common_free()
And drop ns_free_inum(). Anything common that can be wasted centrally
should be wasted in the new common helper.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/proc_ns.h')
-rw-r--r-- | include/linux/proc_ns.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/proc_ns.h b/include/linux/proc_ns.h index 9f21670b5824..08016f6e0e6f 100644 --- a/include/linux/proc_ns.h +++ b/include/linux/proc_ns.h @@ -66,8 +66,6 @@ static inline void proc_free_inum(unsigned int inum) {} #endif /* CONFIG_PROC_FS */ -#define ns_free_inum(ns) proc_free_inum((ns)->inum) - #define get_proc_ns(inode) ((struct ns_common *)(inode)->i_private) #endif /* _LINUX_PROC_NS_H */ |