Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144363
b: refs/heads/master
c: 0816178
h: refs/heads/master
i:
  144361: fd4d8e0
  144359: a99982b
v: v3
  • Loading branch information
Vitaly Mayatskikh authored and Linus Torvalds committed May 2, 2009
1 parent 5f78375 commit eeccf3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b827e496c893de0c0f142abfaeb8730a2fd6b37f
refs/heads/master: 0816178638c15ce5472d39d771a96860dff4141a
4 changes: 4 additions & 0 deletions trunk/fs/proc/task_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,10 @@ static ssize_t pagemap_read(struct file *file, char __user *buf,
goto out_task;

ret = 0;

if (!count)
goto out_task;

mm = get_task_mm(task);
if (!mm)
goto out_task;
Expand Down

0 comments on commit eeccf3a

Please sign in to comment.