public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V4 0/2] erofs: refactor fast_symlink and read_inode
@ 2024-09-02  8:31 Yiyang Wu
  2024-09-02  8:31 ` [PATCH V4 1/2] erofs: use kmemdup_nul in erofs_fill_symlink Yiyang Wu
  2024-09-02  8:31 ` [PATCH V4 2/2] erofs: refactor read_inode calling convention Yiyang Wu
  0 siblings, 2 replies; 11+ messages in thread
From: Yiyang Wu @ 2024-09-02  8:31 UTC (permalink / raw)
  To: hsiangkao; +Cc: linux-erofs, linux-kernel

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-09-09  3:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02  8:31 [PATCH V4 0/2] erofs: refactor fast_symlink and read_inode Yiyang Wu
2024-09-02  8:31 ` [PATCH V4 1/2] erofs: use kmemdup_nul in erofs_fill_symlink Yiyang Wu
2024-09-02  8:52   ` Gao Xiang
2024-09-02  9:04     ` Gao Xiang
2024-09-09  3:37       ` Chao Yu
2024-09-02  8:31 ` [PATCH V4 2/2] erofs: refactor read_inode calling convention Yiyang Wu
     [not found]   ` <ca8dea24-1ef2-46a8-bfca-72aeffa1f6e6@linux.alibaba.com>
2024-09-02  9:34     ` Yiyang Wu
2024-09-02  9:54       ` Gao Xiang
2024-09-03  2:37         ` Gao Xiang
2024-09-09  3:41           ` Chao Yu
2024-09-02  9:36     ` Yiyang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox