mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
mm/damon/lru_sort: ignore damon_stop() return value
damon_stop() return value is guaranteed to be 0. Ignore it. Link: https://lore.kernel.org/20260706140628.87414-7-sj@kernel.org Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
3d88372457
commit
c8518b9713
|
|
@ -409,8 +409,10 @@ static int damon_lru_sort_turn(bool on)
|
|||
{
|
||||
int err;
|
||||
|
||||
if (!on)
|
||||
return damon_stop(&ctx, 1);
|
||||
if (!on) {
|
||||
damon_stop(&ctx, 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
err = damon_lru_sort_apply_parameters();
|
||||
if (err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user