Commit 6232eecf authored by Patrick Daly's avatar Patrick Daly Committed by Suren Baghdasaryan
Browse files

ANDROID: mm/filemap: Fix missing put_page() for speculative page fault



find_get_page() returns a page with increased refcount, assuming a page
exists at the given index. Ensure this refcount is dropped on error.

Bug: 253068137
Fixes: cd333a03 ("BACKPORT: FROMLIST: mm: implement speculative handling in filemap_fault()")
Change-Id: Idc7b9e3f11f32a02bed4c6f4e11cec9200a5c790
Signed-off-by: default avatarPatrick Daly <quic_pdaly@quicinc.com>
parent 05551545
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment