diff options
author | 2021-01-26 16:33:51 +0800 | |
---|---|---|
committer | 2021-02-08 22:59:02 +0100 | |
commit | 09bc1f0fb845a6435e2c6c5d3c937f7a674e816a (patch) | |
tree | 9d673ab096470357f596a30ae5d0471ab7cca20d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: support subpage for extent buffer page release (diff) | |
download | wireguard-linux-09bc1f0fb845a6435e2c6c5d3c937f7a674e816a.tar.xz wireguard-linux-09bc1f0fb845a6435e2c6c5d3c937f7a674e816a.zip |
btrfs: attach private to dummy extent buffer pages
There are locations where we allocate dummy extent buffers for temporary
usage, like in tree_mod_log_rewind() or get_old_root().
These dummy extent buffers will be handled by the same eb accessors, and
if they don't have page::private subpage eb accessors could fail.
To address such problems, make __alloc_dummy_extent_buffer() attach
page private for dummy extent buffers too.
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions