]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super0.c
Add recovery blocked field to mdinfo
[thirdparty/mdadm.git] / super0.c
index f791e9d713841eefe121eb75af9ef7697769f9c4..3061ecfe76f41b7e21e3f36a75866f6502114ad8 100644 (file)
--- a/super0.c
+++ b/super0.c
@@ -387,6 +387,8 @@ static void getinfo_super0(struct supertype *st, struct mdinfo *info, char *map)
        } else
                info->reshape_active = 0;
 
+       info->recovery_blocked = info->reshape_active;
+
        sprintf(info->name, "%d", sb->md_minor);
        /* work_disks is calculated rather than read directly */
        for (i=0; i < MD_SB_DISKS; i++)