diff options
| author | 2023-04-27 20:16:28 +0800 | |
|---|---|---|
| committer | 2023-06-19 13:59:23 +0200 | |
| commit | eee3b811784e52f06ccb3e1c4518a9907627d4fe (patch) | |
| tree | 4d0022a7c817edb470b572c3cb684f0ba5925789 /fs/btrfs/compression.c | |
| parent | btrfs: print-tree: pass const extent buffer pointer (diff) | |
| download | wireguard-linux-eee3b811784e52f06ccb3e1c4518a9907627d4fe.tar.xz wireguard-linux-eee3b811784e52f06ccb3e1c4518a9907627d4fe.zip | |
btrfs: improve leaf dump and error handling
Improve the leaf dump behavior by:
- Always dump the leaf first, then the error message
- Output the slot number if possible
Especially in __btrfs_free_extent() the leaf dump of extent tree can
be pretty large.
With an extra slot number it's much easier to locate the problem.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
