From c7b8547c70035395a02ae4f7a5ec76a46dedb3cb Mon Sep 17 00:00:00 2001 From: Mariusz Tkaczyk Date: Fri, 5 Feb 2021 14:29:58 +0100 Subject: imsm: add verbose flag to compare_super IMSM does more than comparing metadata and errors reported directly from compare_super_imsm can be useful. Add verbose flag to compare_super method and make all not critical error printing configurable. Signed-off-by: Mariusz Tkaczyk Signed-off-by: Jes Sorensen --- super1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'super1.c') diff --git a/super1.c b/super1.c index 7b03329d..c05e6237 100644 --- a/super1.c +++ b/super1.c @@ -2144,7 +2144,8 @@ out: return rv; } -static int compare_super1(struct supertype *st, struct supertype *tst) +static int compare_super1(struct supertype *st, struct supertype *tst, + int verbose) { /* * return: -- cgit v1.2.3