mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 01:23:00 -04:00
make get_file() return its argument
simplifies a bunch of callers... Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
cecb46f194
commit
cb0942b812
16 changed files with 23 additions and 38 deletions
|
|
@ -1979,8 +1979,7 @@ proc_map_files_readdir(struct file *filp, void *dirent, filldir_t filldir)
|
|||
if (++pos <= filp->f_pos)
|
||||
continue;
|
||||
|
||||
get_file(vma->vm_file);
|
||||
info.file = vma->vm_file;
|
||||
info.file = get_file(vma->vm_file);
|
||||
info.len = snprintf(info.name,
|
||||
sizeof(info.name), "%lx-%lx",
|
||||
vma->vm_start, vma->vm_end);
|
||||
|
|
|
|||
Loading…
Reference in a new issue