mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
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:
parent
c647b1ec5e
commit
55686d63f3
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user