summaryrefslogtreecommitdiff
path: root/mm/util.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-03-16 11:15:28 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-21 20:01:36 +0300
commit2a3c4bce3edb0d54983384aa8a88c0da330638f4 (patch)
tree324aa89f1e42f796d24f6ad992c332ad3c53b352 /mm/util.c
parent72e725887413f031fa72d27fea5795450bab1940 (diff)
downloadlinux-2a3c4bce3edb0d54983384aa8a88c0da330638f4.tar.xz
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 'mm/util.c')
0 files changed, 0 insertions, 0 deletions