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(-) -- 2.46.0
