Skip to content

Fix some issues about ext4-test

Ye Bin linux-ext4 5 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. v5 Latest5 patches 3 repliesApplied
  2. v45 patches 3 repliesSuperseded
  3. v35 patches 13 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v28 patches0 repliesSuperseded
v18 patches9 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/5ext4: fix miss unlock 'sb->s_umount' in extents_kunit_init()fs/ext4/extents-test.c+2 -00 replies
2/5ext4: call deactivate_super() in extents_kunit_exit()fs/ext4/extents-test.c+1 -00 replies
3/5ext4: fix the error handling process in extents_kunit_init).fs/ext4/extents-test.c+35 -152 replies
4/5ext4: fix possible null-ptr-deref in extents_kunit_exit()fs/ext4/extents-test.c+5 -20 replies
5/5ext4: fix possible null-ptr-deref in mbt_kunit_exit()fs/ext4/mballoc-test.c+5 -10 replies

Reviews trailers per patch

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

PatchRitesh Harjani (IBM)Ojaswin Mujoo
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

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

Read the v5 thread

Cover letter [PATCH v5 0/5] Fix some issues about ext4-test

From: Ye Bin <[email protected]>

This patch series is based on:
[1]: https://lore.kernel.org/linux-ext4/5bb9041471dab8ce870c191c19cbe4df57473be8.1772381213.git.ritesh.list@gmail.com/

Diff v5 vs v4:
1. Patch[3]
Move ext4_es_register_shrinker() before setting up the mock inode.

Diff v4 vs v3:
1. Re-order PATCH[1] and PATCH[2].
2. Remove unnecessary check when call ext4_es_unregister_shrinker().

Diff v3 vs v2:
1. Remove three patches from this patchset:
ext4: fix mballoc-test.c is not compiled when EXT4_KUNIT_TESTS=M
ext4: introduce EXPORT_SYMBOL_FOR_EXT4_TEST() helper
ext4: fix extents-test.c is not compiled when EXT4_KUNIT_TESTS=M
2. Fix 'sbi' leak as no "sbi->s_sb->s_op->put_super()" registered.

Diff v2 vs v1:
1. Fix compile warning when disable EXT4_KUNIT_TESTS for patch[1][3];
2. Remove reviewed-by tag for patch[1];

Patch [1]-[2]:
Decoupled mballoc-test and extents-test from ext4. Patch [1] does not have any changes compared to the previously released version, so the reviewed-by is added.
Patch [3-7]:
Bugfix for extents-test.c.
Patch [8]:
Bugfix for mballoc-test.c.

Ye Bin (5):
ext4: fix miss unlock 'sb->s_umount' in extents_kunit_init()
ext4: call deactivate_super() in extents_kunit_exit()
ext4: fix the error handling process in extents_kunit_init).
ext4: fix possible null-ptr-deref in extents_kunit_exit()
ext4: fix possible null-ptr-deref in mbt_kunit_exit()

 fs/ext4/extents-test.c | 60 ++++++++++++++++++++++++++++++------------
 fs/ext4/mballoc-test.c |  6 ++++-
 2 files changed, 48 insertions(+), 18 deletions(-)
Signature · 1 line
2.34.1