Commit 796e914
erofs: clean up z_erofs_pcluster_readmore()
`end` parameter is no needed since it's pointless for !backmost, we can
handle it with backmost internally. And we only expand the trailing
edge, so the newstart can be replaced with ->headoffset.
Also, remove linux/prefetch.h inclusion since that is not used anymore
after commit 3862929 ("erofs: introduce readmore decompression
strategy").
Signed-off-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230525072605.17857-1-zbestahu@gmail.com
[ Gao Xiang: update commit description. ]
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>1 parent ef4b4b4 commit 796e914
1 file changed
Lines changed: 12 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
1825 | 1824 | | |
1826 | 1825 | | |
1827 | 1826 | | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
| 1827 | + | |
1831 | 1828 | | |
1832 | 1829 | | |
1833 | 1830 | | |
1834 | | - | |
| 1831 | + | |
1835 | 1832 | | |
1836 | 1833 | | |
1837 | 1834 | | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
1838 | 1839 | | |
1839 | 1840 | | |
1840 | 1841 | | |
1841 | 1842 | | |
1842 | 1843 | | |
1843 | 1844 | | |
1844 | | - | |
| 1845 | + | |
1845 | 1846 | | |
1846 | | - | |
1847 | | - | |
1848 | 1847 | | |
1849 | | - | |
| 1848 | + | |
1850 | 1849 | | |
1851 | 1850 | | |
1852 | 1851 | | |
| |||
1894 | 1893 | | |
1895 | 1894 | | |
1896 | 1895 | | |
1897 | | - | |
1898 | | - | |
| 1896 | + | |
1899 | 1897 | | |
1900 | | - | |
| 1898 | + | |
1901 | 1899 | | |
1902 | 1900 | | |
1903 | 1901 | | |
| |||
1923 | 1921 | | |
1924 | 1922 | | |
1925 | 1923 | | |
1926 | | - | |
1927 | | - | |
| 1924 | + | |
1928 | 1925 | | |
1929 | 1926 | | |
1930 | 1927 | | |
| |||
1947 | 1944 | | |
1948 | 1945 | | |
1949 | 1946 | | |
1950 | | - | |
| 1947 | + | |
1951 | 1948 | | |
1952 | 1949 | | |
1953 | 1950 | | |
| |||
0 commit comments