Blame SOURCES/0020-thin_repair-thin_dump-Exclude-unwanted-btree-nodes.patch

4ef08e
From 54ea2ba0098a5fbacf0b8f4fc5f9e4aa13e4b743 Mon Sep 17 00:00:00 2001
4ef08e
From: Ming-Hung Tsai <mtsai@redhat.com>
4ef08e
Date: Tue, 24 Aug 2021 20:59:47 +0800
4ef08e
Subject: [PATCH] [thin_repair/thin_dump] Exclude unwanted btree nodes
4ef08e
4ef08e
---
4ef08e
 thin-provisioning/metadata_dumper.cc | 2 ++
4ef08e
 1 file changed, 2 insertions(+)
4ef08e
4ef08e
diff --git a/thin-provisioning/metadata_dumper.cc b/thin-provisioning/metadata_dumper.cc
4ef08e
index 0ca4afed..ffdeb04c 100644
4ef08e
--- a/thin-provisioning/metadata_dumper.cc
4ef08e
+++ b/thin-provisioning/metadata_dumper.cc
4ef08e
@@ -597,6 +597,8 @@ namespace {
4ef08e
 
4ef08e
 					info.nr_mappings = n.get_nr_entries();
4ef08e
 				}
4ef08e
+			} else {
4ef08e
+				fail(info, "not the value size of interest");
4ef08e
 			}
4ef08e
 
4ef08e
 			return info;
4ef08e
-- 
4ef08e
2.34.3
4ef08e