diff options
author | Qu Wenruo <wqu@suse.com> | 2021-03-25 08:14:44 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-04-19 17:25:18 +0200 |
commit | 5a2c60752a5f49609ac00a36d3d129669a633529 (patch) | |
tree | 69ed9864ca2937e0eec257ce3672785fd789def6 /fs/btrfs/subpage.c | |
parent | btrfs: make set/clear_extent_buffer_dirty() subpage compatible (diff) | |
download | linux-5a2c60752a5f49609ac00a36d3d129669a633529.tar.xz linux-5a2c60752a5f49609ac00a36d3d129669a633529.zip |
btrfs: make set_btree_ioerr accept extent buffer and be subpage compatible
Current set_btree_ioerr() only accepts @page parameter and grabs extent
buffer from page::private. This works fine for sector size == PAGE_SIZE
case, but not for subpage case.
Add an extra parameter, @eb, for callers to pass extent buffer to this
function, so that subpage code can reuse this function.
And also add subpage special handling to update
btrfs_subpage::error_bitmap.
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/btrfs/subpage.c')
0 files changed, 0 insertions, 0 deletions