mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
ns: remove ns_alloc_inum()
It's now unused. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
@@ -66,12 +66,6 @@ static inline void proc_free_inum(unsigned int inum) {}
|
||||
|
||||
#endif /* CONFIG_PROC_FS */
|
||||
|
||||
static inline int ns_alloc_inum(struct ns_common *ns)
|
||||
{
|
||||
WRITE_ONCE(ns->stashed, NULL);
|
||||
return proc_alloc_inum(&ns->inum);
|
||||
}
|
||||
|
||||
static inline int ns_common_init(struct ns_common *ns,
|
||||
const struct proc_ns_operations *ops,
|
||||
bool alloc_inum)
|
||||
|
||||
Reference in New Issue
Block a user