Skip to content

Fix two potential memory leak

Ye Bin linux-ext4 lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesApplied
  2. v12 patches 6 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3ext4: fix potential memory leak in ext4_fc_record_modified_inode()fs/ext4/fast_commit.c+5 -31 reply
2/3ext4: fix potential memory leak in ext4_fc_record_regions()fs/ext4/fast_commit.c+8 -61 reply
3/3ext4: update 'state->fc_regions_size' after successful memory allocationfs/ext4/fast_commit.c+5 -42 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.31.1