diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-04-01 15:09:05 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-27 09:51:57 +0200 |
commit | a72b6dff4089e6c3455e73ea97b08623b4fed699 (patch) | |
tree | 7badc23cf0d6921c581cd33be2fbe2758d5fd502 /MAINTAINERS | |
parent | 84e7c6786aad1dffa04f5729270f8fcd7281fe4b (diff) | |
download | linux-stable-a72b6dff4089e6c3455e73ea97b08623b4fed699.tar.gz linux-stable-a72b6dff4089e6c3455e73ea97b08623b4fed699.tar.bz2 linux-stable-a72b6dff4089e6c3455e73ea97b08623b4fed699.zip |
drivers/base/node.c: fix compaction sysfs file leak
Compaction sysfs file is created via compaction_register_node in
register_node. But we forgot to remove it in unregister_node. Thus
compaction sysfs file is leaked. Using compaction_unregister_node
to fix this issue.
Fixes: ed4a6d7f0676 ("mm: compaction: add /sys trigger for per-node memory compaction")
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20220401070905.43679-1-linmiaohe@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions