summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorMuhammad Muzammil <m.muzzammilashraf@gmail.com>2023-10-23 14:44:05 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-10-26 01:47:14 +0200
commitbe16dd764a69752a31096d1a6b2ad775b728b1bd (patch)
treefe42f0d9a683449ee3e05b089d49387495afc688 /mm/mmap.c
parentmm/khugepaged: convert collapse_pte_mapped_thp() to use folios (diff)
downloadlinux-be16dd764a69752a31096d1a6b2ad775b728b1bd.tar.xz
linux-be16dd764a69752a31096d1a6b2ad775b728b1bd.zip
mm: fix multiple typos in multiple files
Link: https://lkml.kernel.org/r/20231023124405.36981-1-m.muzzammilashraf@gmail.com Signed-off-by: Muhammad Muzammil <m.muzzammilashraf@gmail.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Muhammad Muzammil <m.muzzammilashraf@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
-rw-r--r--mm/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 8b57e42fd980..984804d77ae1 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1223,7 +1223,7 @@ unsigned long do_mmap(struct file *file, unsigned long addr,
* Does the application expect PROT_READ to imply PROT_EXEC?
*
* (the exception is when the underlying filesystem is noexec
- * mounted, in which case we dont add PROT_EXEC.)
+ * mounted, in which case we don't add PROT_EXEC.)
*/
if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC))
if (!(file && path_noexec(&file->f_path)))