f2fs: use folio_end_read
Jaegeuk Kim
maintainerPATCH 1/1 f2fs: use folio_end_read
No logic change.
Suggested-by Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by Jaegeuk Kim <[email protected]>
--- fs/f2fs/data.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-)
fs/f2fs/data.c +3 -7
@@ -2566,19 +2566,15 @@ static int f2fs_read_data_large_folio(struct inode *inode, }trace_f2fs_read_folio (folio,DATA );if (rac) { -if (!folio_in_bio) { -folio_mark_uptodate (folio); -folio_unlock (folio); - } +if (!folio_in_bio) +folio_end_read (folio, true); folio =readahead_folio (rac); goto next_folio; } err_out:/* Nothing was submitted. */ if (!bio) { -if (!ret) -folio_mark_uptodate (folio); -folio_unlock (folio); +folio_end_read (folio, !ret);return ret; }
Signature · 1 line
2.52.0.457.g6b5491de43-goog
Quoted 4 lines · On 1/16/2026 12:32 PM, Jaegeuk Kim via Linux-f2fs-devel wrote:
No logic change.
Suggested-by Matthew Wilcox (Oracle) <[email protected]>Signed-off-by Jaegeuk Kim <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:
Quoted 7 lines · On Fri, 16 Jan 2026 04:32:02 +0000 you wrote:
No logic change.
Suggested-by Matthew Wilcox (Oracle) <[email protected]>Signed-off-by Jaegeuk Kim <[email protected]>--- fs/f2fs/data.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-)
Here is the summary with links:
- [f2fs-dev] f2fs: use folio_end_read
https://git.kernel.org/jaegeuk/f2fs/c/ec8bb999dc0c
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html