diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-20 23:13:54 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-03 01:49:30 +0200 |
commit | f50752eaa0b0be05431897a973b2ab05229cc2f5 (patch) | |
tree | ed6217b315639bdfad2b1af6869a0dad944000bb /fs/proc/root.c | |
parent | proc_sys_fill_cache(): switch to d_alloc_parallel() (diff) | |
download | linux-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/root.c')
-rw-r--r-- | fs/proc/root.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index 361ab4ee42fc..55bc7d6c8aac 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c @@ -226,8 +226,8 @@ static int proc_root_readdir(struct file *file, struct dir_context *ctx) */ static const struct file_operations proc_root_operations = { .read = generic_read_dir, - .iterate = proc_root_readdir, - .llseek = default_llseek, + .iterate_shared = proc_root_readdir, + .llseek = generic_file_llseek, }; /* |