summaryrefslogtreecommitdiffstats
path: root/fs/proc/namespaces.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-04-20 23:13:54 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-03 01:49:30 +0200
commitf50752eaa0b0be05431897a973b2ab05229cc2f5 (patch)
treeed6217b315639bdfad2b1af6869a0dad944000bb /fs/proc/namespaces.c
parentproc_sys_fill_cache(): switch to d_alloc_parallel() (diff)
downloadlinux-f50752eaa0b0be05431897a973b2ab05229cc2f5.tar.xz
linux-f50752eaa0b0be05431897a973b2ab05229cc2f5.zip
switch all procfs directories ->iterate_shared()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/namespaces.c')
-rw-r--r--fs/proc/namespaces.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/proc/namespaces.c b/fs/proc/namespaces.c
index 72cb26f85d58..51b8b0a8ad91 100644
--- a/fs/proc/namespaces.c
+++ b/fs/proc/namespaces.c
@@ -139,7 +139,8 @@ out:
const struct file_operations proc_ns_dir_operations = {
.read = generic_read_dir,
- .iterate = proc_ns_dir_readdir,
+ .iterate_shared = proc_ns_dir_readdir,
+ .llseek = generic_file_llseek,
};
static struct dentry *proc_ns_dir_lookup(struct inode *dir,