mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
Revert "FROMLIST: userfaultfd/shmem: fix minor fault page leak"
This reverts commit 02732576b1 as an
updated version of the patch-set will be merged later.
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: Ie6fe2a611d4cbb3bd103c62a90b84e6ba4e89af1
This commit is contained in:
committed by
Suren Baghdasaryan
parent
f57e3e5112
commit
21a8683a8b
@@ -1831,7 +1831,6 @@ repeat:
|
||||
|
||||
if (page && vma && userfaultfd_minor(vma)) {
|
||||
unlock_page(page);
|
||||
put_page(page);
|
||||
*fault_type = handle_userfault(vmf, VM_UFFD_MINOR);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user