diff options
author | Li Zetao <lizetao1@huawei.com> | 2024-08-29 02:28:57 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-09-10 16:51:20 +0200 |
commit | 0145aa38cb39a041025747d02c276ac9a9acece2 (patch) | |
tree | def799e7eee472020f5c2dcdab3ed8531bb1ab2c /fs/btrfs/disk-io.c | |
parent | d4aeb5f7a7e67d780e3eaae0b6e7d4e2d31042ee (diff) | |
download | linux-0145aa38cb39a041025747d02c276ac9a9acece2.tar.gz linux-0145aa38cb39a041025747d02c276ac9a9acece2.tar.bz2 linux-0145aa38cb39a041025747d02c276ac9a9acece2.zip |
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 <lizetao1@huawei.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions