diff options
| author | Boris Burkov <[email protected]> | 2024-12-13 20:33:22 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-12-23 21:00:07 +0000 |
| commit | 0fba7be1ca6df2881e68386e5575fe096f33c4ca (patch) | |
| tree | f63d2445e8d35420b056a8b4e4116b2098adcf8f /tools/net/ynl/pyynl/cli.py | |
| parent | btrfs: check folio mapping after unlock in relocate_one_folio() (diff) | |
| download | kernel-0fba7be1ca6df2881e68386e5575fe096f33c4ca.tar.gz kernel-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: [email protected] # 6.12+
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Boris Burkov <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
