mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
erofs: fix to add missing tracepoint in erofs_read_folio()
commit 99f7619a77a0a2e3e2bcae676d0f301769167754 upstream. Commit771c994ea5("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4c4f931676
commit
5b1b8f06b1
@@ -358,6 +358,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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user