Skip to content

Revert ocfs2 commit dfe6c5692fb5 and provide a new fix

Heming Zhao lkml ocfs2-devel stable 2 versions – Applied

Status from this message: [merged mm-hotfixes-stable] ocfs2-fix-the-space-leak-in-la-when-releasing-la.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied 2/2
  2. v12 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- revise the both commit logs
- following Joseph Qi's suggestion, apply patch [2/2] using more concise code.

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2 volume"fs/ocfs2/localalloc.c+0 -191 replyApplied
2/2ocfs2: fix the space leak in LA when releasing LAfs/ocfs2/localalloc.c+5 -32 repliesApplied

Reviews trailers per patch

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

PatchJoseph Qi
1/2R-b
2/2R-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 v2 0/2] Revert ocfs2 commit dfe6c5692fb5 and provide a new fix

SUSE QA team detected a mistake in my commit dfe6c5692fb5 ("ocfs2: fix the la space leak when unmounting an ocfs2 volume"). I am very sorry for my error. (If my eyes are correct) From the mailling list mails, this patch shouldn't be applied to 4.19 5.4 5.10 5.15 6.1 6.6, and these branches should perform a revert operation.

Reason for revert:
In commit dfe6c5692fb5, I mistakenly wrote: "This bug has existed since the initial OCFS2 code.". The statement is wrong. The correct introduction commit is 30dd3478c3cd. IOW, if the branch doesn't include 30dd3478c3cd, dfe6c5692fb5 should also not be included.

Changes in v2:
- revise the both commit logs
- following Joseph Qi's suggestion, apply patch [2/2] using more concise code.

Heming Zhao (2):
ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2
volume"
ocfs2: fix the space leak in LA when releasing LA

 fs/ocfs2/localalloc.c | 27 +++++----------------------
 1 file changed, 5 insertions(+), 22 deletions(-)
Signature · 1 line
2.43.0