There are two folio accesses after folio_put() in mm/damon/paddr.c file.
Fix those.
SeongJae Park (2):
mm/damon/paddr: fix folio_size() call after folio_put() in
damon_pa_young()
mm/damon/paddr: fix folio_nr_pages() after folio_put() in
damon_pa_mark_accessed_or_deactivate()
mm/damon/paddr.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)