]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
erofs: pass inode to trace_erofs_read_folio
authorHongbo Li <lihongbo22@huawei.com>
Fri, 23 Jan 2026 01:31:29 +0000 (01:31 +0000)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 23 Jan 2026 12:02:09 +0000 (20:02 +0800)
commit69368d2ded39b6a7ca6bd9fd53ee0d1f904e3601
tree8a8d391261ac6330e645b27c267c8412fc5201e4
parent5ef3208e3be50aa08b4e7a2832f34e16d42c08b3
erofs: pass inode to trace_erofs_read_folio

The trace_erofs_read_folio accesses inode information through folio,
but this method fails if the real inode is not associated with the
folio(such as in the upcoming page cache sharing case). Therefore,
we pass the real inode to it so that the inode information can be
printed out in that case.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/data.c
fs/erofs/fileio.c
fs/erofs/zdata.c
include/trace/events/erofs.h