Skip to content

Commit 2797e79

Browse files
Liu Xiangtorvalds
authored andcommitted
mm/memory.c: fix comment of finish_mkwrite_fault()
Fix the return value in comment of finish_mkwrite_fault(). Link: https://lkml.kernel.org/r/20210513093931.15234-1-liu.xiang@zlingsmart.com Signed-off-by: Liu Xiang <liu.xiang@zlingsmart.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 35e43c5 commit 2797e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3049,7 +3049,7 @@ static vm_fault_t wp_page_copy(struct vm_fault *vmf)
30493049
* The function expects the page to be locked or other protection against
30503050
* concurrent faults / writeback (such as DAX radix tree locks).
30513051
*
3052-
* Return: %VM_FAULT_WRITE on success, %0 when PTE got changed before
3052+
* Return: %0 on success, %VM_FAULT_NOPAGE when PTE got changed before
30533053
* we acquired PTE lock.
30543054
*/
30553055
vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf)

0 commit comments

Comments
 (0)