diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-20 17:13:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-02 19:49:30 -0400 |
commit | f50752eaa0b0be05431897a973b2ab05229cc2f5 (patch) | |
tree | ed6217b315639bdfad2b1af6869a0dad944000bb /fs/proc/base.c | |
parent | 76aab3ab61f3051362f20fc26e2c50a65d6ba904 (diff) |
switch all procfs directories ->iterate_shared()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 15b60f1a346d..beb45d47bf77 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -2159,8 +2159,8 @@ out: | |||
2159 | 2159 | ||
2160 | static const struct file_operations proc_map_files_operations = { | 2160 | static const struct file_operations proc_map_files_operations = { |
2161 | .read = generic_read_dir, | 2161 | .read = generic_read_dir, |
2162 | .iterate = proc_map_files_readdir, | 2162 | .iterate_shared = proc_map_files_readdir, |
2163 | .llseek = default_llseek, | 2163 | .llseek = generic_file_llseek, |
2164 | }; | 2164 | }; |
2165 | 2165 | ||
2166 | #ifdef CONFIG_CHECKPOINT_RESTORE | 2166 | #ifdef CONFIG_CHECKPOINT_RESTORE |
@@ -2507,8 +2507,8 @@ static int proc_attr_dir_readdir(struct file *file, struct dir_context *ctx) | |||
2507 | 2507 | ||
2508 | static const struct file_operations proc_attr_dir_operations = { | 2508 | static const struct file_operations proc_attr_dir_operations = { |
2509 | .read = generic_read_dir, | 2509 | .read = generic_read_dir, |
2510 | .iterate = proc_attr_dir_readdir, | 2510 | .iterate_shared = proc_attr_dir_readdir, |
2511 | .llseek = default_llseek, | 2511 | .llseek = generic_file_llseek, |
2512 | }; | 2512 | }; |
2513 | 2513 | ||
2514 | static struct dentry *proc_attr_dir_lookup(struct inode *dir, | 2514 | static struct dentry *proc_attr_dir_lookup(struct inode *dir, |
@@ -2915,8 +2915,8 @@ static int proc_tgid_base_readdir(struct file *file, struct dir_context *ctx) | |||
2915 | 2915 | ||
2916 | static const struct file_operations proc_tgid_base_operations = { | 2916 | static const struct file_operations proc_tgid_base_operations = { |
2917 | .read = generic_read_dir, | 2917 | .read = generic_read_dir, |
2918 | .iterate = proc_tgid_base_readdir, | 2918 | .iterate_shared = proc_tgid_base_readdir, |
2919 | .llseek = default_llseek, | 2919 | .llseek = generic_file_llseek, |
2920 | }; | 2920 | }; |
2921 | 2921 | ||
2922 | static struct dentry *proc_tgid_base_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) | 2922 | static struct dentry *proc_tgid_base_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) |
@@ -3263,8 +3263,8 @@ static struct dentry *proc_tid_base_lookup(struct inode *dir, struct dentry *den | |||
3263 | 3263 | ||
3264 | static const struct file_operations proc_tid_base_operations = { | 3264 | static const struct file_operations proc_tid_base_operations = { |
3265 | .read = generic_read_dir, | 3265 | .read = generic_read_dir, |
3266 | .iterate = proc_tid_base_readdir, | 3266 | .iterate_shared = proc_tid_base_readdir, |
3267 | .llseek = default_llseek, | 3267 | .llseek = generic_file_llseek, |
3268 | }; | 3268 | }; |
3269 | 3269 | ||
3270 | static const struct inode_operations proc_tid_base_inode_operations = { | 3270 | static const struct inode_operations proc_tid_base_inode_operations = { |
@@ -3474,6 +3474,6 @@ static const struct inode_operations proc_task_inode_operations = { | |||
3474 | 3474 | ||
3475 | static const struct file_operations proc_task_operations = { | 3475 | static const struct file_operations proc_task_operations = { |
3476 | .read = generic_read_dir, | 3476 | .read = generic_read_dir, |
3477 | .iterate = proc_task_readdir, | 3477 | .iterate_shared = proc_task_readdir, |
3478 | .llseek = default_llseek, | 3478 | .llseek = generic_file_llseek, |
3479 | }; | 3479 | }; |