erofs: fix to add missing tracepoint in erofs_read_folio()

Commit 771c994ea5 ("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: 771c994ea5 ("erofs: convert all uncompressed cases to iomap")
Signed-off-by: Chao Yu <chao@kernel.org>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250708111942.3120926-1-chao@kernel.org
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
This commit is contained in:
Chao Yu 2025-07-08 19:19:42 +08:00 committed by Gao Xiang
parent d53238b614
commit 99f7619a77

View File

@ -351,6 +351,8 @@ int erofs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
*/ */
static int erofs_read_folio(struct file *file, struct folio *folio) 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); return iomap_read_folio(folio, &erofs_iomap_ops);
} }