Commit 5d2a2dbb authored by Linus Torvalds's avatar Linus Torvalds
Browse files

cow_user_page: fix page alignment



High Dickins points out that the user virtual address passed to the page
fault handler isn't necessarily page-aligned.

Also, add a comment on why the copy could fail for the user address case.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c9cfcddf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment