Fix several kernfs node reference count leak issues:
(1) Remove superfluous kernfs_get() calls to prevent refcount leak
(2) Add necessary kernfs_put() calls to prevent refcount leak
(3) Follow-up cleanup for the change in previous patch.
Xiaochen Shen (3):
x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount
leak
x86/resctrl: Add necessary kernfs_put() calls to prevent refcount leak
x86/resctrl: Clean up unused function parameter in rmdir path
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 82 ++++++++++++++--------------------
1 file changed, 33 insertions(+), 49 deletions(-)