diff options
| author | SJ Park <sj@kernel.org> | 2026-06-28 15:01:11 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-07-28 21:12:07 -0700 |
| commit | 2603ef6f6ec3d3f7de2d6a07e7c9a683cebac419 (patch) | |
| tree | 4ed019c72b3d0acd95536fecd2bcaa9d73a8c000 /tools/lib/python | |
| parent | 263af33a72d1995ae6cdc22b08d527e2bda17259 (diff) | |
mm/damon/sysfs: kobject_del() region and target (error) dirs
On CONFIG_DEBUG_KOBJECT_RELEASE enabled kernel, lack of kobject_del()
could cause directories creation failures due to the name conflicts. Fix
those issues for the normal creation path of region directories and the
error path of target directories, by adding kobject_del() calls.
Link: https://lore.kernel.org/20260628220121.97360-3-sj@kernel.org
Fixes: 2031b14ea757 ("mm/damon/sysfs: support the physical address space monitoring")
Signed-off-by: SJ Park <sj@kernel.org>
Cc: <stable@vger.kernel.org> # 5.18.x
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
