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:
Lokesh Gidra
2021-05-07 04:48:09 -07:00
committed by Suren Baghdasaryan
parent f57e3e5112
commit 21a8683a8b

View File

@@ -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;
}