summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2021-01-26 16:33:52 +0800
committerDavid Sterba <dsterba@suse.com>2021-02-08 22:59:02 +0100
commita1d767c11cca0f9b6ddc56ea9561d441340d91a9 (patch)
tree73d31da7b5eceefaf5784e9db884d9f53e24a721 /certs
parent09bc1f0fb845a6435e2c6c5d3c937f7a674e816a (diff)
downloadlwn-a1d767c11cca0f9b6ddc56ea9561d441340d91a9.tar.gz
lwn-a1d767c11cca0f9b6ddc56ea9561d441340d91a9.zip
btrfs: introduce helpers for subpage uptodate status
Introduce the following functions to handle subpage uptodate status: - btrfs_subpage_set_uptodate() - btrfs_subpage_clear_uptodate() - btrfs_subpage_test_uptodate() These helpers can only be called when the page has subpage attached and the range is ensured to be inside the page. - btrfs_page_set_uptodate() - btrfs_page_clear_uptodate() - btrfs_page_test_uptodate() These helpers can handle both regular sector size and subpage. Although caller should still ensure that the range is inside the page. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions