From: Chao Yu Date: Tue, 8 Jul 2025 11:19:42 +0000 (+0800) Subject: erofs: fix to add missing tracepoint in erofs_read_folio() X-Git-Tag: v6.1.146~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c61a5fe776e4b4572f559954bf71dbf9d64df412;p=thirdparty%2Fkernel%2Fstable.git erofs: fix to add missing tracepoint in erofs_read_folio() [ Upstream commit 99f7619a77a0a2e3e2bcae676d0f301769167754 ] Commit 771c994ea51f ("erofs: convert all uncompressed cases to iomap") converts to use iomap interface, it removed trace_erofs_readpage() tracepoint in the meantime, let's add it back. Fixes: 771c994ea51f ("erofs: convert all uncompressed cases to iomap") Signed-off-by: Chao Yu Reviewed-by: Gao Xiang Link: https://lore.kernel.org/r/20250708111942.3120926-1-chao@kernel.org Signed-off-by: Gao Xiang Signed-off-by: Sasha Levin --- diff --git a/fs/erofs/data.c b/fs/erofs/data.c index 5c2e6fbb70a3e..7b648bec61fd0 100644 --- a/fs/erofs/data.c +++ b/fs/erofs/data.c @@ -354,6 +354,8 @@ int erofs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, */ static int erofs_read_folio(struct file *file, struct folio *folio) { + trace_erofs_read_folio(folio, true); + return iomap_read_folio(folio, &erofs_iomap_ops); }