summaryrefslogtreecommitdiffstats
path: root/fs/proc/namespaces.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-04-20 17:13:54 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-02 19:49:30 -0400
commitf50752eaa0b0be05431897a973b2ab05229cc2f5 (patch)
treeed6217b315639bdfad2b1af6869a0dad944000bb /fs/proc/namespaces.c
parent76aab3ab61f3051362f20fc26e2c50a65d6ba904 (diff)
downloadop-kernel-dev-f50752eaa0b0be05431897a973b2ab05229cc2f5.zip
op-kernel-dev-f50752eaa0b0be05431897a973b2ab05229cc2f5.tar.gz
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 72cb26f..51b8b0a 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,
OpenPOWER on IntegriCloud