aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2020-09-22 10:37:01 +0800
committerDavid Sterba <[email protected]>2020-10-07 12:13:23 +0200
commit1465af12e254a68706e110846f59cf0f09683184 (patch)
tree1720a50ff0d674e104c28f5653194c20f65855dd /tools/perf/scripts/python/export-to-sqlite.py
parente97659cefe1e9dc0bb4284195ba4ab380d0cf1fe (diff)
btrfs: tree-checker: fix false alert caused by legacy btrfs root item
Commit 259ee7754b67 ("btrfs: tree-checker: Add ROOT_ITEM check") introduced btrfs root item size check, however btrfs root item has two versions, the legacy one which just ends before generation_v2 member, is smaller than current btrfs root item size. This caused btrfs kernel to reject valid but old tree root leaves. Fix this problem by also allowing legacy root item, since kernel can already handle them pretty well and upgrade to newer root item format when needed. Reported-by: Martin Steigerwald <[email protected]> Fixes: 259ee7754b67 ("btrfs: tree-checker: Add ROOT_ITEM check") CC: [email protected] # 5.4+ Tested-By: Martin Steigerwald <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Qu Wenruo <[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