Re: [PATCH 0/6] nilfs2: fix incorrect usage of kobject

From: Ryusuke Konishi
Date: Thu Jul 01 2021 - 09:01:29 EST


Hi, Nanyong

Thank you so much for sending this patchset. I will review each and
send them upstream if applicable as is.

Thanks,
Ryusuke Konishi

On Tue, Jun 29, 2021 at 10:54 AM Nanyong Sun <sunnanyong@xxxxxxxxxx> wrote:
>
> This patchset fix the memory leak problems and NULL pointer problem
> caused by incorrect usage of kobject in nilfs2 sysfs driver.
>
> Nanyong Sun (6):
> nilfs2: fix memory leak in nilfs_sysfs_create_device_group
> nilfs2: fix NULL pointer in nilfs_##name##_attr_release
> nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
> nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
> nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
> nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
>
> fs/nilfs2/sysfs.c | 26 +++++++++++---------------
> 1 file changed, 11 insertions(+), 15 deletions(-)
>
> --
> 2.18.0.huawei.25
>