mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
xfs: don't emit corruption noise on fs probes
If we get EWRONGFS due to probing of non-xfs filesystems, there's no need to issue the scary corruption error and backtrace. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
parent
08e96e1a3c
commit
31625f28ad
1 changed files with 3 additions and 2 deletions
|
@ -624,8 +624,9 @@ xfs_sb_read_verify(
|
||||||
|
|
||||||
out_error:
|
out_error:
|
||||||
if (error) {
|
if (error) {
|
||||||
XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW,
|
if (error != EWRONGFS)
|
||||||
mp, bp->b_addr);
|
XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW,
|
||||||
|
mp, bp->b_addr);
|
||||||
xfs_buf_ioerror(bp, error);
|
xfs_buf_ioerror(bp, error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue