mm/damon/core: hide private damon_filter fields

damon_filter->list is intended to be used by only the DAMON core layer. 
However, it is mistakenly not marked as private.  Mark as private.

Link: https://lore.kernel.org/20260714143544.101305-8-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:
SJ Park 2026-07-14 07:35:40 -07:00 committed by Andrew Morton
parent c647b1ec5e
commit 55686d63f3

View File

@ -758,7 +758,6 @@ enum damon_filter_type {
* @matching: Whether this filter is for the type-matching ones.
* @allow: Whether the @type-@matching ones should pass this filter.
* @memcg_id: Memcg id of the question if @type is DAMON_FILTER_MEMCG.
* @list: Siblings list.
*/
struct damon_filter {
enum damon_filter_type type;
@ -767,6 +766,8 @@ struct damon_filter {
union {
u64 memcg_id;
};
/* private: */
/* Siblings list. */
struct list_head list;
};