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
parente149ed2b805fefdccf7ccdfc19eca22fdd4514ac (diff)
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 {
57 struct task_struct *task); 57 struct task_struct *task);
58}; 58};
59 59
60struct proc_ns {
61 struct ns_common *ns;
62 const struct proc_ns_operations *ns_ops;
63};
64
65struct proc_inode { 60struct proc_inode {
66 struct pid *pid; 61 struct pid *pid;
67 int fd; 62 int fd;
@@ -69,7 +64,7 @@ struct proc_inode {
69 struct proc_dir_entry *pde; 64 struct proc_dir_entry *pde;
70 struct ctl_table_header *sysctl; 65 struct ctl_table_header *sysctl;
71 struct ctl_table *sysctl_entry; 66 struct ctl_table *sysctl_entry;
72 struct proc_ns ns; 67 const struct proc_ns_operations *ns_ops;
73 struct inode vfs_inode; 68 struct inode vfs_inode;
74}; 69};
75 70