summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-05-04 12:04:24 +0100
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:24 +0200
commit91de9e978d1c32c477e14f44a7e945f17863c66e (patch)
tree08a853263cbbd6858c39b297e1236e78033243c7 /tools/perf/scripts/python
parent13c2018fcc27b0e2cebf0d3732c36b3ecfddc34c (diff)
downloadlinux-91de9e978d1c32c477e14f44a7e945f17863c66e.tar.gz
linux-91de9e978d1c32c477e14f44a7e945f17863c66e.zip
btrfs: assert tree lock is held when searching for free space entries
When searching for a free space entry by offset, at tree_search_offset(), we are supposed to have the btrfs_free_space_ctl's 'tree_lock' held, so assert that. We have multiple callers of tree_search_offset(), and all currently hold the necessary lock before calling it. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions