aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_sb.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2013-10-11 15:12:31 -0400
committerBen Myers <bpm@sgi.com>2013-10-17 14:31:25 -0400
commit31625f28ad7be67701dc4cefcf52087addd88af4 (patch)
treefcfbb1cb1bff5363bac0d8f2f29d389b82b5bceb /fs/xfs/xfs_sb.c
parent08e96e1a3c5fd823f846df813b0b8be8e734c6c2 (diff)
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>
Diffstat (limited to 'fs/xfs/xfs_sb.c')
-rw-r--r--fs/xfs/xfs_sb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_sb.c b/fs/xfs/xfs_sb.c
index a89d0bcc7959..b4762279bb78 100644
--- a/fs/xfs/xfs_sb.c
+++ b/fs/xfs/xfs_sb.c
@@ -624,8 +624,9 @@ xfs_sb_read_verify(
624 624
625out_error: 625out_error:
626 if (error) { 626 if (error) {
627 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, 627 if (error != EWRONGFS)
628 mp, bp->b_addr); 628 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW,
629 mp, bp->b_addr);
629 xfs_buf_ioerror(bp, error); 630 xfs_buf_ioerror(bp, error);
630 } 631 }
631} 632}