Commit 49bb2b8
f2fs: Pass a folio to f2fs_cache_compressed_page()
The only caller already has a folio so pass it in.
f2fs_cache_compressed_page() is not used outside compress.c so
make it static. This requires a forward declaration (or would require
rearranging this file, but I've chosen not to do that for readability of
the diff).
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 8591db2 commit 49bb2b8
2 files changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
796 | 799 | | |
797 | 800 | | |
798 | 801 | | |
| |||
810 | 813 | | |
811 | 814 | | |
812 | 815 | | |
813 | | - | |
| 816 | + | |
814 | 817 | | |
815 | 818 | | |
816 | 819 | | |
| |||
1918 | 1921 | | |
1919 | 1922 | | |
1920 | 1923 | | |
1921 | | - | |
1922 | | - | |
| 1924 | + | |
| 1925 | + | |
1923 | 1926 | | |
1924 | 1927 | | |
1925 | 1928 | | |
| |||
1952 | 1955 | | |
1953 | 1956 | | |
1954 | 1957 | | |
1955 | | - | |
| 1958 | + | |
1956 | 1959 | | |
1957 | 1960 | | |
1958 | 1961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4525 | 4525 | | |
4526 | 4526 | | |
4527 | 4527 | | |
4528 | | - | |
4529 | | - | |
4530 | 4528 | | |
4531 | 4529 | | |
4532 | 4530 | | |
| |||
4581 | 4579 | | |
4582 | 4580 | | |
4583 | 4581 | | |
4584 | | - | |
4585 | | - | |
4586 | 4582 | | |
4587 | 4583 | | |
4588 | 4584 | | |
| |||
0 commit comments