OSDN Git Service

xfs: catch a few more error codes when scrubbing secondary sb
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:49:02 +0000 (10:49 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:49:02 +0000 (10:49 -0800)
commite5b37faa932d79f0c277badd0566317718648ffc
treed84b3ae48a4f02741d3112c174ba91606fd6708e
parent5a0f433745ead12f485da2213fa0c473ed613a45
xfs: catch a few more error codes when scrubbing secondary sb

The superblock validation routines return a variety of error codes to
reject a mount request.  For scrub we can assume that the mount
succeeded, so if we see these things appear when scrubbing secondary sb
X, we can treat them all like corruption.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/agheader.c