Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14804
b: refs/heads/master
c: 5bd0190
h: refs/heads/master
v: v3
  • Loading branch information
David Gibson authored and Linus Torvalds committed Nov 30, 2005
1 parent 61aac04 commit 8dd6d52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: df69a60dc6afc2936d79054d30b481c1fd9720e5
refs/heads/master: 5bd0190bf3d7e53043a048e809ffa29d41b9d6ac
3 changes: 2 additions & 1 deletion trunk/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, in
if (write) {
copy_to_user_page(vma, page, addr,
maddr + offset, buf, bytes);
set_page_dirty_lock(page);
if (!PageCompound(page))
set_page_dirty_lock(page);
} else {
copy_from_user_page(vma, page, addr,
buf, maddr + offset, bytes);
Expand Down

0 comments on commit 8dd6d52

Please sign in to comment.