mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
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>
This commit is contained in:
parent
35e43c5ff4
commit
2797e79f1a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user