diff options
| author | Filipe Manana <[email protected]> | 2023-05-04 12:04:24 +0100 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-06-19 13:59:24 +0200 |
| commit | 91de9e978d1c32c477e14f44a7e945f17863c66e (patch) | |
| tree | 08a853263cbbd6858c39b297e1236e78033243c7 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 13c2018fcc27b0e2cebf0d3732c36b3ecfddc34c (diff) | |
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 <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions