File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -810,7 +810,6 @@ static int z_erofs_register_pcluster(struct z_erofs_decompress_frontend *fe)
810
810
811
811
if (ztailpacking ) {
812
812
pcl -> obj .index = 0 ; /* which indicates ztailpacking */
813
- pcl -> pageofs_in = erofs_blkoff (fe -> inode -> i_sb , map -> m_pa );
814
813
} else {
815
814
pcl -> obj .index = erofs_blknr (sb , map -> m_pa );
816
815
@@ -887,6 +886,7 @@ static int z_erofs_pcluster_begin(struct z_erofs_decompress_frontend *fe)
887
886
}
888
887
get_page (map -> buf .page );
889
888
WRITE_ONCE (fe -> pcl -> compressed_bvecs [0 ].page , map -> buf .page );
889
+ fe -> pcl -> pageofs_in = map -> m_pa & ~PAGE_MASK ;
890
890
fe -> mode = Z_EROFS_PCLUSTER_FOLLOWED_NOINPLACE ;
891
891
}
892
892
/* file-backed inplace I/O pages are traversed in reverse order */
You can’t perform that action at this time.
0 commit comments