mm: fix non-anon COW fault
Speculative page fault should skip non-anon COW
faults. But the check uses flags from vmf which is
not initialized at that point. Fix that.
Fixes: eed0466ffa ("mm: skip speculative path for non-anonymous COW faults")
Change-Id: I86c3032680461b1369650d97a06616fd14472632
Signed-off-by:
Vinayak Menon <vinmenon@codeaurora.org>
Loading