[PATCH V3 0/2] erofs: refactor fast_symlink and read_inode

From: Yiyang Wu
Date: Mon Sep 02 2024 - 04:04:35 EST


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.

[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 | 126 ++++++++++++++++++++++-------------------------
1 file changed, 58 insertions(+), 68 deletions(-)

--
2.46.0