aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-11-01 11:10:28 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-10 21:30:57 -0500
commit3d3d35b1e94ec918fc0ae670663235bf197d8609 (patch)
tree28f1f6c1061c118544ff626bc336e826b270f2ca /fs/proc/internal.h
parenttake the targets of /proc/*/ns/* symlinks to separate fs (diff)
downloadlinux-dev-3d3d35b1e94ec918fc0ae670663235bf197d8609.tar.xz
linux-dev-3d3d35b1e94ec918fc0ae670663235bf197d8609.zip
kill proc_ns completely
procfs inodes need only the ns_ops part; nsfs inodes don't need it at all Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/internal.h')
-rw-r--r--fs/proc/internal.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index 0fabc48d905f..d689fd6960d5 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -57,11 +57,6 @@ union proc_op {
struct task_struct *task);
};
-struct proc_ns {
- struct ns_common *ns;
- const struct proc_ns_operations *ns_ops;
-};
-
struct proc_inode {
struct pid *pid;
int fd;
@@ -69,7 +64,7 @@ struct proc_inode {
struct proc_dir_entry *pde;
struct ctl_table_header *sysctl;
struct ctl_table *sysctl_entry;
- struct proc_ns ns;
+ const struct proc_ns_operations *ns_ops;
struct inode vfs_inode;
};