[PATCH -next v2 0/3] Fix two potential memory leak

Ye Bin posted 3 patches 3 years, 6 months ago
fs/ext4/fast_commit.c | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
[PATCH -next v2 0/3] Fix two potential memory leak
Posted by Ye Bin 3 years, 6 months ago
Diff v2 vs v1:
Add new patch "ext4: update 'state->fc_regions_size' after successful memory allocation"

Ye Bin (3):
  ext4: fix potential memory leak in ext4_fc_record_modified_inode()
  ext4: fix potential memory leak in ext4_fc_record_regions()
  ext4: update 'state->fc_regions_size' after successful memory
    allocation

 fs/ext4/fast_commit.c | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

-- 
2.31.1
Re: [PATCH -next v2 0/3] Fix two potential memory leak
Posted by Theodore Ts'o 3 years, 6 months ago
On Wed, 21 Sep 2022 14:40:37 +0800, Ye Bin wrote:
> Diff v2 vs v1:
> Add new patch "ext4: update 'state->fc_regions_size' after successful memory allocation"
> 
> Ye Bin (3):
>   ext4: fix potential memory leak in ext4_fc_record_modified_inode()
>   ext4: fix potential memory leak in ext4_fc_record_regions()
>   ext4: update 'state->fc_regions_size' after successful memory
>     allocation
> 
> [...]

Applied, thanks!

[1/3] ext4: fix potential memory leak in ext4_fc_record_modified_inode()
      commit: 3edc135aaf975c6022f69c47e55f4e55981aff10
[2/3] ext4: fix potential memory leak in ext4_fc_record_regions()
      commit: 87429b6248196338ae578d51ae95f2e3094f8a50
[3/3] ext4: update 'state->fc_regions_size' after successful memory allocation
      commit: 24e597348a4676fb1e573faaea05eb9e6a4b422c

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>