diff options
author | 2024-12-13 12:33:22 -0800 | |
---|---|---|
committer | 2024-12-23 22:00:07 +0100 | |
commit | 0fba7be1ca6df2881e68386e5575fe096f33c4ca (patch) | |
tree | f63d2445e8d35420b056a8b4e4116b2098adcf8f /scripts/lib/kdoc/kdoc_parser.py | |
parent | btrfs: check folio mapping after unlock in relocate_one_folio() (diff) | |
download | linux-rng-0fba7be1ca6df2881e68386e5575fe096f33c4ca.tar.xz linux-rng-0fba7be1ca6df2881e68386e5575fe096f33c4ca.zip |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions