diff options
author | David Sterba <dsterba@suse.com> | 2024-02-07 01:20:53 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:51 +0300 |
commit | bfe8a0ccbb3a02ff0a3b2e835b550e4180d2f86a (patch) | |
tree | 292ff5d182578f0b13c83e128f49ee88e856db2a /scripts/gdb/linux/utils.py | |
parent | f40a3ea94881f668084f68f6b9931486b1606db0 (diff) | |
download | linux-bfe8a0ccbb3a02ff0a3b2e835b550e4180d2f86a.tar.xz |
btrfs: delete pointless BUG_ONs on extent item size
Checking extent item size in add_inline_refs() is redundant, we do that
already in tree-checker after reading the extent buffer and it won't
change under normal circumstances. It was added long ago in
8da6d5815c592b ("Btrfs: added btrfs_find_all_roots()") and does not seem
to have a clear purpose.
Similar case in extent_from_logical(), added in a542ad1bafc7df ("btrfs:
added helper functions to iterate backrefs").
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions