diff options
| author | 2022-09-19 15:06:36 +0100 | |
|---|---|---|
| committer | 2022-09-29 17:08:31 +0200 | |
| commit | 74333c7d87914ef1c250d3ea9441e88e15039bd8 (patch) | |
| tree | d93c0d5161d699c7f62bb3f033ed5b75464c4ce4 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | btrfs: remove unnecessary extent map initializations (diff) | |
| download | linux-dev-74333c7d87914ef1c250d3ea9441e88e15039bd8.tar.xz linux-dev-74333c7d87914ef1c250d3ea9441e88e15039bd8.zip | |
btrfs: assert tree is locked when clearing extent map from logging
When calling clear_em_logging() we should have a write lock on the extent
map tree, as we will try to merge the extent map with the previous and
next ones in the tree. So assert that we have a write lock.
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/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions
