diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-03-16 16:15:28 +0800 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-21 13:01:36 -0400 |
commit | 2a3c4bce3edb0d54983384aa8a88c0da330638f4 (patch) | |
tree | 324aa89f1e42f796d24f6ad992c332ad3c53b352 /drivers/nvdimm | |
parent | 72e725887413f031fa72d27fea5795450bab1940 (diff) |
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 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions