diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2026-02-25 11:59:58 -0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-03-03 17:03:51 +0100 |
| commit | b2840e33127ce0eea880504b7f133e780f567a9b (patch) | |
| tree | 20666fc8a32500b580a2c196ea2ad5e954b015c7 /tools/perf/scripts/python/bin | |
| parent | 5131fa077f9bb386a1b901bf5b247041f0ec8f80 (diff) | |
| download | linux-b2840e33127ce0eea880504b7f133e780f567a9b.tar.gz linux-b2840e33127ce0eea880504b7f133e780f567a9b.zip | |
btrfs: add missing RCU unlock in error path in try_release_subpage_extent_buffer()
Call rcu_read_lock() before exiting the loop in
try_release_subpage_extent_buffer() because there is a rcu_read_unlock()
call past the loop.
This has been detected by the Clang thread-safety analyzer.
Fixes: ad580dfa388f ("btrfs: fix subpage deadlock in try_release_subpage_extent_buffer()")
CC: stable@vger.kernel.org # 6.18+
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
