diff options
author | Qu Wenruo <wqu@suse.com> | 2021-03-25 15:14:38 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-04-19 17:25:18 +0200 |
commit | 3470da3b7d87fde4b9729d4e29c2dc074cd59c10 (patch) | |
tree | 6d9cef321e1d3c5519a22e13e508b4218c84ef5c /fs/squashfs/xattr.h | |
parent | d8a5713e891dab2b0d13a82455df8ddf73fa9af4 (diff) | |
download | linux-3470da3b7d87fde4b9729d4e29c2dc074cd59c10.tar.bz2 |
btrfs: subpage: introduce helpers for writeback status
Introduces the following functions to handle subpage writeback status:
- btrfs_subpage_set_writeback()
- btrfs_subpage_clear_writeback()
- btrfs_subpage_test_writeback()
These helpers can only be called when the range is ensured to be
inside the page.
- btrfs_page_set_writeback()
- btrfs_page_clear_writeback()
- btrfs_page_test_writeback()
These helpers can handle both regular sector size and subpage without
problem.
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 'fs/squashfs/xattr.h')
0 files changed, 0 insertions, 0 deletions