summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-03-16 16:15:28 +0800
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-21 13:01:36 -0400
commit2a3c4bce3edb0d54983384aa8a88c0da330638f4 (patch)
tree324aa89f1e42f796d24f6ad992c332ad3c53b352 /arch
parent72e725887413f031fa72d27fea5795450bab1940 (diff)
downloadlinux-next-2a3c4bce3edb0d54983384aa8a88c0da330638f4.tar.gz
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: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: SeongJae Park <sj@kernel.org> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions