linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] nilfs2: fix incorrect usage of kobject
@ 2021-07-07  9:48 Ryusuke Konishi
  2021-07-07  9:48 ` [PATCH 1/6] nilfs2: fix memory leak in nilfs_sysfs_create_device_group Ryusuke Konishi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ryusuke Konishi @ 2021-07-07  9:48 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-nilfs, LKML

Hi Andrew,

Please send the following patchset to upstream.

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

This patchset from Nanyong Sun fixes memory leak issues and a NULL
pointer dereference issue caused by incorrect usage of kboject in
nilfs2 sysfs implementation.

Thanks,
Ryusuke Konishi
--
 fs/nilfs2/sysfs.c | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/6] nilfs2: fix incorrect usage of kobject
@ 2021-06-29  2:25 Nanyong Sun
       [not found] ` <20210629022556.3985106-1-sunnanyong-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Nanyong Sun @ 2021-06-29  2:25 UTC (permalink / raw)
  To: konishi.ryusuke-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	sunnanyong-hv44wF8Li93QT0dZR+AlfA,
	wangkefeng.wang-hv44wF8Li93QT0dZR+AlfA

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-07  9:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-07  9:48 [PATCH 0/6] nilfs2: fix incorrect usage of kobject Ryusuke Konishi
2021-07-07  9:48 ` [PATCH 1/6] nilfs2: fix memory leak in nilfs_sysfs_create_device_group Ryusuke Konishi
2021-07-07  9:48 ` [PATCH 2/6] nilfs2: fix NULL pointer in nilfs_##name##_attr_release Ryusuke Konishi
     [not found] ` <1625651306-10829-1-git-send-email-konishi.ryusuke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2021-07-07  9:48   ` [PATCH 3/6] nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group Ryusuke Konishi
2021-07-07  9:48   ` [PATCH 4/6] nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group Ryusuke Konishi
2021-07-07  9:48   ` [PATCH 5/6] nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group Ryusuke Konishi
2021-07-07  9:48   ` [PATCH 6/6] nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group Ryusuke Konishi
  -- strict thread matches above, loose matches on Subject: below --
2021-06-29  2:25 [PATCH 0/6] nilfs2: fix incorrect usage of kobject Nanyong Sun
     [not found] ` <20210629022556.3985106-1-sunnanyong-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2021-06-29  2:25   ` [PATCH 4/6] nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group Nanyong Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).