Commit 3e0ee843 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Andrew Morton
Browse files

mm: fix typo in struct vm_operations_struct comments

There is no eprotect(), so I assume this is about mprotect().

Link: https://lkml.kernel.org/r/2385684.8vm7BOzihM@mobilepool36.emlix.com


Signed-off-by: default avatarRolf Eike Beer <eb@emlix.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 70ec04f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -549,7 +549,7 @@ struct vm_operations_struct {
	/*
	 * Called by mprotect() to make driver-specific permission
	 * checks before mprotect() is finalised.   The VMA must not
	 * be modified.  Returns 0 if eprotect() can proceed.
	 * be modified.  Returns 0 if mprotect() can proceed.
	 */
	int (*mprotect)(struct vm_area_struct *vma, unsigned long start,
			unsigned long end, unsigned long newflags);