Skip to contentSkip to conversation

DISCUSSION Yiyang Wu 1 participant 1 message Sep 2, 2024

lore
Share & tools
lore

Yiyang Wu

author
#0 lore raw

Subject: [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