Skip to content

erofs: refactor fast_symlink and read_inode

Yiyang Wu linux-erofs lkml 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 8 repliesIn review
  2. v32 patches 3 repliesSuperseded
  3. v22 patches 4 repliesSuperseded

Changes in v4 from the cover letter

1. Remove out_unlock in erofs_fill_inode and use early returns.
2. Fix missing initializer for erofs_buf in erofs_read_inode.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2erofs: use kmemdup_nul in erofs_fill_symlinkfs/erofs/inode.c+5 -113 replies
2/2erofs: refactor read_inode calling conventionfs/erofs/inode.c+61 -662 replies
2/2erofs: refactor read_inode calling conventionfs/erofs/inode.c+59 -653 replies

Reviews trailers per patch

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

PatchGao XiangChao Yu
1/2R-b R-b
2/2R-b R-b
2/2R-b R-b

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

Read the v4 thread

Cover letter [PATCH V4 0/2] erofs: refactor fast_symlink and read_inode

This patchset is response to the original suggestions posted here[1]. Since my later work is somehow related to this issue, i think it's better to deal with it first.

Changes in V2:
1. Lift the erofs_fill_symlink patch to 1/2
2. Fix code styles problems in read_inode patch.
3. Fix the formatting problems caused by clang-format.

Changes in V3:
1. Remove some redundant variables and statements in both patches.

Changes in V4:
1. Remove out_unlock in erofs_fill_inode and use early returns.
2. Fix missing initializer for erofs_buf in erofs_read_inode.

[1]: https://lore.kernel.org/all/20240425222847.GN2118490@ZenIV/

Yiyang Wu (2):
erofs: use kmemdup_nul in erofs_fill_symlink
erofs: refactor read_inode calling convention

 fs/erofs/inode.c | 133 ++++++++++++++++++++++-------------------------
 1 file changed, 61 insertions(+), 72 deletions(-)
Signature · 1 line
2.46.0