Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment