Commit 0145aa3
btrfs: convert try_release_subpage_extent_buffer() to take a folio
The old page API is being gradually replaced and converted to use folio
to improve code readability and avoid repeated conversion between page
and folio. And use folio_pos instead of page_offset, which is more
consistent with folio usage. At the same time, folio_test_private() can
handle folio directly without converting from page to folio first.
Signed-off-by: Li Zetao <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>1 parent d4aeb5f commit 0145aa3
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4077 | 4077 | | |
4078 | 4078 | | |
4079 | 4079 | | |
4080 | | - | |
| 4080 | + | |
4081 | 4081 | | |
4082 | | - | |
4083 | | - | |
4084 | | - | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
4085 | 4085 | | |
4086 | 4086 | | |
4087 | 4087 | | |
| |||
4096 | 4096 | | |
4097 | 4097 | | |
4098 | 4098 | | |
4099 | | - | |
| 4099 | + | |
4100 | 4100 | | |
4101 | 4101 | | |
4102 | 4102 | | |
| |||
4137 | 4137 | | |
4138 | 4138 | | |
4139 | 4139 | | |
4140 | | - | |
4141 | | - | |
| 4140 | + | |
| 4141 | + | |
4142 | 4142 | | |
4143 | 4143 | | |
4144 | 4144 | | |
4145 | | - | |
| 4145 | + | |
4146 | 4146 | | |
4147 | 4147 | | |
4148 | 4148 | | |
| |||
4153 | 4153 | | |
4154 | 4154 | | |
4155 | 4155 | | |
4156 | | - | |
| 4156 | + | |
4157 | 4157 | | |
4158 | 4158 | | |
4159 | 4159 | | |
| |||
0 commit comments