Home
last modified time | relevance | path

Searched hist:"74333 c7d87914ef1c250d3ea9441e88e15039bd8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dextent_map.cdiff 74333c7d87914ef1c250d3ea9441e88e15039bd8 Mon Sep 19 09:06:36 CDT 2022 Filipe Manana <fdmanana@suse.com> 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>