Skip to content
Commit 2a3c4bce authored by Miaohe Lin's avatar Miaohe Lin Committed by Matthew Wilcox (Oracle)
Browse files

mm/damon: minor cleanup for damon_pa_young



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.

Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Reviewed-by: default avatarSeongJae Park <sj@kernel.org>
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
parent 72e72588
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment