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

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