summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJongwoo Han <jongwooo.han@gmail.com>2023-01-25 21:08:47 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-02-03 09:33:29 +0300
commitc5acf1f6f0a11b8e521ad43f59b1bed27dcf34f6 (patch)
tree80d5af3b4a8780d58b5ad409736f9914dcff40e8
parent420ef683b5217338bc679c33fd9361b52f53a526 (diff)
downloadlinux-c5acf1f6f0a11b8e521ad43f59b1bed27dcf34f6.tar.xz
mm/gup.c: fix typo in comments
Link: https://lkml.kernel.org/r/20230125180847.4542-1-jongwooo.han@gmail.com Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--mm/gup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/gup.c b/mm/gup.c
index 38ba1697dd61..c4b793385ed2 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -1055,7 +1055,7 @@ static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags)
* This does not guarantee that the page exists in the user mappings when
* __get_user_pages returns, and there may even be a completely different
* page there in some cases (eg. if mmapped pagecache has been invalidated
- * and subsequently re faulted). However it does guarantee that the page
+ * and subsequently re-faulted). However it does guarantee that the page
* won't be freed completely. And mostly callers simply care that the page
* contains data that was valid *at some point in time*. Typically, an IO
* or similar operation cannot guarantee anything stronger anyway because