projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35e43c5
)
mm/memory.c: fix comment of finish_mkwrite_fault()
author
Liu Xiang
<liu.xiang@zlingsmart.com>
Tue, 29 Jun 2021 02:38:47 +0000
(19:38 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:51 +0000
(10:53 -0700)
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>
mm/memory.c
patch
|
blob
|
history
diff --git
a/mm/memory.c
b/mm/memory.c
index
a4d82a6
..
b195ece
100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-3049,7
+3049,7
@@
oom:
* The function expects the page to be locked or other protection against
* concurrent faults / writeback (such as DAX radix tree locks).
*
- * Return: %
VM_FAULT_WRITE on success, %0
when PTE got changed before
+ * Return: %
0 on success, %VM_FAULT_NOPAGE
when PTE got changed before
* we acquired PTE lock.
*/
vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf)