Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336037
b: refs/heads/master
c: 05f5648
h: refs/heads/master
i:
  336035: 9d176b2
v: v3
  • Loading branch information
Stanislav Kinsbursky authored and Linus Torvalds committed Nov 27, 2012
1 parent 1a7c7c0 commit de0edb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 56c176c9cac9a77249fa1736bfd792f379d61942
refs/heads/master: 05f564849d49499ced97913a0914b5950577d07d
5 changes: 3 additions & 2 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1877,8 +1877,9 @@ static struct dentry *proc_map_files_lookup(struct inode *dir,
if (!vma)
goto out_no_vma;

result = proc_map_files_instantiate(dir, dentry, task,
(void *)(unsigned long)vma->vm_file->f_mode);
if (vma->vm_file)
result = proc_map_files_instantiate(dir, dentry, task,
(void *)(unsigned long)vma->vm_file->f_mode);

out_no_vma:
up_read(&mm->mmap_sem);
Expand Down

0 comments on commit de0edb6

Please sign in to comment.