]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - repair/sb.c
xfs_repair: complain about any nonzero inprogress value, not just 1
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 10 Jul 2020 19:35:45 +0000 (15:35 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 10 Jul 2020 19:35:45 +0000 (15:35 -0400)
commit0ce3577f448f926b1edbc4c33c25601c7074a81e
tree73a1b146051cfc95c336168960758c17a24c65cc
parent32e11be93066605e0543aafafb393b51d5e10d23
xfs_repair: complain about any nonzero inprogress value, not just 1

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>
repair/sb.c