diff options
author | Boris Burkov <boris@bur.io> | 2024-12-13 23:33:22 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-12-24 00:00:07 +0300 |
commit | 0fba7be1ca6df2881e68386e5575fe096f33c4ca (patch) | |
tree | f63d2445e8d35420b056a8b4e4116b2098adcf8f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3e74859ee35edc33a022c3f3971df066ea0ca6b9 (diff) | |
download | linux-0fba7be1ca6df2881e68386e5575fe096f33c4ca.tar.xz |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions