summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2024-12-13 12:33:22 -0800
committerDavid Sterba <dsterba@suse.com>2024-12-23 22:00:07 +0100
commit0fba7be1ca6df2881e68386e5575fe096f33c4ca (patch)
treef63d2445e8d35420b056a8b4e4116b2098adcf8f /tools/perf/scripts/python/parallel-perf.py
parent3e74859ee35edc33a022c3f3971df066ea0ca6b9 (diff)
btrfs: check folio mapping after unlock in put_file_data()
When we call btrfs_read_folio() we get an unlocked folio, so it is possible for a different thread to concurrently modify folio->mapping. We must check that this hasn't happened once we do have the lock. CC: stable@vger.kernel.org # 6.12+ Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions