diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-05-15 18:16:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-04-20 22:55:35 -0400 |
commit | 38e124086282715e3b9b3d193d9308bb3499b46c (patch) | |
tree | a18f69cb50f1e19c67e20cb591072d225858a1f6 /include/linux/proc_ns.h | |
parent | d2084fd84569fb7054c97ae6ffaf2755086fd267 (diff) | |
download | linux-38e124086282715e3b9b3d193d9308bb3499b46c.tar.gz linux-38e124086282715e3b9b3d193d9308bb3499b46c.tar.bz2 linux-38e124086282715e3b9b3d193d9308bb3499b46c.zip |
kill the last remaining user of proc_ns_fget()
lookups by descriptor are better off closer to syscall surface...
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/proc_ns.h')
-rw-r--r-- | include/linux/proc_ns.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/proc_ns.h b/include/linux/proc_ns.h index 75807ecef880..49539bc416ce 100644 --- a/include/linux/proc_ns.h +++ b/include/linux/proc_ns.h @@ -72,7 +72,6 @@ static inline int ns_alloc_inum(struct ns_common *ns) #define ns_free_inum(ns) proc_free_inum((ns)->inum) -extern struct file *proc_ns_fget(int fd); #define get_proc_ns(inode) ((struct ns_common *)(inode)->i_private) extern int ns_get_path(struct path *path, struct task_struct *task, const struct proc_ns_operations *ns_ops); |