Complain about the primary superblock having any non-zero sb_inprogress
value, not just 1. This brings repair's behavior into alignment with
xfs_check and the kernel.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
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);
/*