Re: [PATCH] mm/damon: minor cleanup for damon_pa_young

From: Matthew Wilcox
Date: Wed Mar 16 2022 - 10:12:10 EST


On Wed, Mar 16, 2022 at 04:15:28PM +0800, Miaohe Lin wrote:
> if need_lock is true but folio_trylock fails, we should return false
> instead of NULL to match the return value type exactly. No functional
> change intended.

Thanks. Given the extensive changes I've made to this function for
this merge window, I've added it to my for-next tree.