summaryrefslogtreecommitdiffstats
path: root/fs/proc/fd.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/fd.c
parent76aab3ab61f3051362f20fc26e2c50a65d6ba904 (diff)
downloadtalos-obmc-linux-f50752eaa0b0be05431897a973b2ab05229cc2f5.tar.gz
talos-obmc-linux-f50752eaa0b0be05431897a973b2ab05229cc2f5.zip
switch all procfs directories ->iterate_shared()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/fd.c')
-rw-r--r--fs/proc/fd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/proc/fd.c b/fs/proc/fd.c
index 56afa5ef08f2..01df23cc81f6 100644
--- a/fs/proc/fd.c
+++ b/fs/proc/fd.c
@@ -276,8 +276,8 @@ static int proc_readfd(struct file *file, struct dir_context *ctx)
const struct file_operations proc_fd_operations = {
.read = generic_read_dir,
- .iterate = proc_readfd,
- .llseek = default_llseek,
+ .iterate_shared = proc_readfd,
+ .llseek = generic_file_llseek,
};
static struct dentry *proc_lookupfd(struct inode *dir, struct dentry *dentry,
@@ -361,6 +361,6 @@ const struct inode_operations proc_fdinfo_inode_operations = {
const struct file_operations proc_fdinfo_operations = {
.read = generic_read_dir,
- .iterate = proc_readfdinfo,
- .llseek = default_llseek,
+ .iterate_shared = proc_readfdinfo,
+ .llseek = generic_file_llseek,
};
OpenPOWER on IntegriCloud