Commit 985ba004 authored by Ethon Paul's avatar Ethon Paul Committed by Linus Torvalds

mm/memory: fix a typo in comment "attampt"->"attempt"

There is a comment in typo, fix it.
Signed-off-by: default avatarEthon Paul <ethp@qq.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200411004043.14686-1-ethp@qq.comSigned-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e0857cf5
...@@ -2467,7 +2467,7 @@ static inline bool cow_user_page(struct page *dst, struct page *src, ...@@ -2467,7 +2467,7 @@ static inline bool cow_user_page(struct page *dst, struct page *src,
} }
/* /*
* The same page can be mapped back since last copy attampt. * The same page can be mapped back since last copy attempt.
* Try to copy again under PTL. * Try to copy again under PTL.
*/ */
if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) { if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) {
......
Markdown is supported
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