Skip to content

Commit c61a5fe

Browse files
chaseyugregkh
authored andcommitted
erofs: fix to add missing tracepoint in erofs_read_folio()
[ Upstream commit 99f7619a77a0a2e3e2bcae676d0f301769167754 ] Commit 771c994 ("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: 771c994 ("erofs: convert all uncompressed cases to iomap") Signed-off-by: Chao Yu <[email protected]> Reviewed-by: Gao Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Gao Xiang <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 911e9c4 commit c61a5fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/erofs/data.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ int erofs_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
354354
*/
355355
static int erofs_read_folio(struct file *file, struct folio *folio)
356356
{
357+
trace_erofs_read_folio(folio, true);
358+
357359
return iomap_read_folio(folio, &erofs_iomap_ops);
358360
}
359361

0 commit comments

Comments
 (0)