From d4f8d99b03fb4f3da105e7f3e52d712a0dea45b7 Mon Sep 17 00:00:00 2001 From: Lidong Zhong Date: Mon, 16 Mar 2020 10:16:49 +0800 Subject: [PATCH 20/27] Detail: show correct bitmap info for cluster raid device Signed-off-by: Lidong Zhong Signed-off-by: Jes Sorensen --- Detail.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Detail.c b/Detail.c index 20ea03a..dadcafe 100644 --- a/Detail.c +++ b/Detail.c @@ -467,7 +467,9 @@ int Detail(char *dev, struct context *c) if (ioctl(fd, GET_BITMAP_FILE, &bmf) == 0 && bmf.pathname[0]) { printf(" Intent Bitmap : %s\n", bmf.pathname); printf("\n"); - } else if (array.state & (1<