From 9e4494051de3f53228fabae56c116879bff5a0c8 Mon Sep 17 00:00:00 2001 From: Lidong Zhong Date: Mon, 16 Mar 2020 10:16:49 +0800 Subject: [RHEL7.9 PATCH 67/77] 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 832485f..daec4f1 100644 --- a/Detail.c +++ b/Detail.c @@ -468,7 +468,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<