diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index b55c3bb298e3..f1e8438d21b5 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -1979,8 +1979,7 @@ proc_map_files_readdir(struct file *filp, void *dirent, filldir_t filldir) | |||
1979 | if (++pos <= filp->f_pos) | 1979 | if (++pos <= filp->f_pos) |
1980 | continue; | 1980 | continue; |
1981 | 1981 | ||
1982 | get_file(vma->vm_file); | 1982 | info.file = get_file(vma->vm_file); |
1983 | info.file = vma->vm_file; | ||
1984 | info.len = snprintf(info.name, | 1983 | info.len = snprintf(info.name, |
1985 | sizeof(info.name), "%lx-%lx", | 1984 | sizeof(info.name), "%lx-%lx", |
1986 | vma->vm_start, vma->vm_end); | 1985 | vma->vm_start, vma->vm_end); |