summaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
authorJingyu Wang <jingyuwang_vip@163.com>2023-03-09 11:48:13 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-03-29 01:20:14 +0200
commit5da1a8687a9685d60a92abf4f6b735579ebe6b40 (patch)
tree995294ef3adda276cce65c08817e4b744a2ac06f /mm/gup.c
parentmaple_tree: export symbol mas_preallocate() (diff)
downloadlinux-5da1a8687a9685d60a92abf4f6b735579ebe6b40.tar.xz
linux-5da1a8687a9685d60a92abf4f6b735579ebe6b40.zip
mm/gup.c: fix typo in comments
Link: https://lkml.kernel.org/r/20230309104813.170309-1-jingyuwang_vip@163.com Signed-off-by: Jingyu Wang <jingyuwang_vip@163.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/gup.c')
-rw-r--r--mm/gup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/gup.c b/mm/gup.c
index eab18ba045db..1f72a717232b 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -2193,7 +2193,7 @@ static bool is_valid_gup_args(struct page **pages, struct vm_area_struct **vmas,
* This does not guarantee that the page exists in the user mappings when
* get_user_pages_remote 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