Skip to content

fs: jffs2: remove slab cache substitute with malloc

Holger Assmann barebox 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 Latest2 patches 3 repliesApplied
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- split up v1 patch into two distinct patches
- reworded commit messages

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2fs: jffs2: introduce reference counting at probefs/jffs2/fs.c+22 -120 replies
2/2fs: jffs2: remove unnecessary slab cache structurefs/jffs2/fs.c fs/jffs2/malloc.c fs/jffs2/nodelist.h+19 -1242 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] fs: jffs2: remove slab cache substitute with malloc

This series aimes to handle a bug in the Barebox jffs2 driver where the system crashes once a second unmounting is performed when more than one jffs2 file system were mounted at the same time at one point.

- The first patch "introduce reference counting at probe" solves the initial issue.

- The second patch "remove unnecessary slab cache structure" performs a cleanup on the respective code with the opportunity for simplification being taken.

---

This series is a v2 of a former single commit now split up into two for clarity reasons.

changes v1 -> v2:

- split up v1 patch into two distinct patches
- reworded commit messages

by Ahmad Fatoum <[email protected]>:
- bugfix: perform jffs2_fill_super() with every probe() again
- bugfix: removed unfunctional if-branch in probe()
- use sizeof(*ret) instead of hardcoding the size in malloc calls

by Sascha Hauer <[email protected]>:
- additional infornation for commit messages added

---

 fs/jffs2/fs.c       |  32 +++++------
 fs/jffs2/malloc.c   | 131 +++++++-------------------------------------
 fs/jffs2/nodelist.h |   2 -
 3 files changed, 35 insertions(+), 130 deletions(-)
Signature · 7 lines
2.30.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox