diff options
| author | Qu Wenruo <wqu@suse.com> | 2021-03-25 10:14:44 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-04-19 18:25:18 +0300 |
| commit | 5a2c60752a5f49609ac00a36d3d129669a633529 (patch) | |
| tree | 69ed9864ca2937e0eec257ce3672785fd789def6 /scripts | |
| parent | 0d27797e92cb72264b04a281f55cf9f4e9c4fded (diff) | |
| download | linux-5a2c60752a5f49609ac00a36d3d129669a633529.tar.xz | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions
