Re: [PATCH 0/3] Fix kernfs node reference count leak issues

From: Xiaochen Shen
Date: Sat Oct 31 2020 - 01:42:00 EST


Hi Reinette,

Thank you for correcting this!

The subject of this "cover letter" should be:
x86/resctrl: Fix kernfs node reference count leak issues

On 10/31/2020 5:18, Reinette Chatre wrote:
Apologies, the Subject intended to have a "x86/resctrl:" prefix.

On 10/30/2020 12:02 PM, Xiaochen Shen wrote:
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(-)


--
Best regards,
Xiaochen