Detail: show correct bitmap info for cluster raid device
Signed-off-by: Lidong Zhong <lidong.zhong@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
This commit is contained in:
parent
06a6101c0a
commit
9e4494051d
4
Detail.c
4
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<<MD_SB_BITMAP_PRESENT))
|
||||
} else if (array.state & (1<<MD_SB_CLUSTERED))
|
||||
printf(" Intent Bitmap : Internal(Clustered)\n\n");
|
||||
else if (array.state & (1<<MD_SB_BITMAP_PRESENT))
|
||||
printf(" Intent Bitmap : Internal\n\n");
|
||||
atime = array.utime;
|
||||
if (atime)
|
||||
|
|
Loading…
Reference in New Issue