summaryrefslogtreecommitdiff
path: root/fs/proc/proc_net.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-04-21 00:13:54 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-03 02:49:30 +0300
commitf50752eaa0b0be05431897a973b2ab05229cc2f5 (patch)
treeed6217b315639bdfad2b1af6869a0dad944000bb /fs/proc/proc_net.c
parent76aab3ab61f3051362f20fc26e2c50a65d6ba904 (diff)
downloadlinux-f50752eaa0b0be05431897a973b2ab05229cc2f5.tar.xz
switch all procfs directories ->iterate_shared()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/proc_net.c')
-rw-r--r--fs/proc/proc_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c
index 350984a19c83..c8bbc68cdb05 100644
--- a/fs/proc/proc_net.c
+++ b/fs/proc/proc_net.c
@@ -179,7 +179,7 @@ static int proc_tgid_net_readdir(struct file *file, struct dir_context *ctx)
const struct file_operations proc_net_operations = {
.llseek = generic_file_llseek,
.read = generic_read_dir,
- .iterate = proc_tgid_net_readdir,
+ .iterate_shared = proc_tgid_net_readdir,
};
static __net_init int proc_net_ns_init(struct net *net)