commit | 6519f708cc355c4834edbe1885c8542c0e7ef907 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sun Nov 17 10:36:52 2019 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Nov 18 08:40:44 2019 -0800 |
tree | 103a04492185da1c34d9a30577360283d0ff2482 | |
parent | 377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb [diff] |
xfs: report corruption only as a regular error Redefine XFS_IS_CORRUPT so that it reports corruptions only via xfs_corruption_report. Since these are on-disk contents (and not checks of internal state), we don't ever want to panic the kernel. This also amends the corruption report to recommend unmounting and running xfs_repair. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>