]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - repair/sb.c
xfs_repair: complain about any nonzero inprogress value, not just 1
[thirdparty/xfsprogs-dev.git] / repair / sb.c
index 91a36dd34f1bf03fde37800f0f5be77ab0882eda..17ce43cc510df0f5cdd8c174329f2eb7d6f13c78 100644 (file)
@@ -369,8 +369,7 @@ verify_sb(char *sb_buf, xfs_sb_t *sb, int is_primary_sb)
                return(XR_BAD_VERSION);
 
        /* does sb think mkfs really finished ? */
-
-       if (is_primary_sb && sb->sb_inprogress == 1)
+       if (is_primary_sb && sb->sb_inprogress)
                return(XR_BAD_INPROGRESS);
 
        /*