]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/damon/core: fix damos_commit_filter not changing allow
authorSang-Heon Jeon <ekffu200098@gmail.com>
Sat, 16 Aug 2025 01:51:16 +0000 (10:51 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 19 Aug 2025 23:35:57 +0000 (16:35 -0700)
commitb3dee902b6c26b7d8031a4df19753e27dcfcba01
tree9254170ba607b38ed28be6b18c0d14487df7a746
parent2e6053fea379806269c4f7f5e36b523c9c0fb35c
mm/damon/core: fix damos_commit_filter not changing allow

Current damos_commit_filter() does not persist the `allow' value of the
filter.  As a result, changing the `allow' value of a filter and
committing doesn't change the `allow' value.

Add the missing `allow' value update, so committing the filter
persistently changes the `allow' value well.

Link: https://lkml.kernel.org/r/20250816015116.194589-1-ekffu200098@gmail.com
Fixes: fe6d7fdd6249 ("mm/damon/core: add damos_filter->allow field")
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: <stable@vger.kernel.org> [6.14.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/core.c