summaryrefslogtreecommitdiff
path: root/lib/842
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-01-13 08:22:08 +0300
committerDavid Sterba <dsterba@suse.com>2022-05-16 18:03:10 +0300
commite959d3c1df3aad22d6904719162ac5668b18541c (patch)
tree4df37ee089acafa76f8cc02ef94e4bf68af0b1b9 /lib/842
parent0320b3538b2b819c24daa699a26aa184f3d3cc6c (diff)
downloadlinux-e959d3c1df3aad22d6904719162ac5668b18541c.tar.xz
btrfs: use dummy extent buffer for super block sys chunk array read
In function btrfs_read_sys_array(), we allocate a real extent buffer using btrfs_find_create_tree_block(). Such extent buffer will be even cached into buffer_radix tree, and using btree inode address space. However we only use such extent buffer to enable the accessors, thus we don't even need to bother using real extent buffer, a dummy one is what we really need. And for dummy extent buffer, we no longer need to do any special handling for the first page, as subpage helper is already doing it properly. 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 'lib/842')
0 files changed, 0 insertions, 0 deletions