diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-01 11:10:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-10 21:30:57 -0500 |
commit | 3d3d35b1e94ec918fc0ae670663235bf197d8609 (patch) | |
tree | 28f1f6c1061c118544ff626bc336e826b270f2ca /fs/proc/internal.h | |
parent | e149ed2b805fefdccf7ccdfc19eca22fdd4514ac (diff) | |
download | linux-3d3d35b1e94ec918fc0ae670663235bf197d8609.tar.bz2 |
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.h | 7 |
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; }; |