diff options
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index d5402b0eb6a3..df6d0b2aade1 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -658,6 +658,12 @@ reread: | |||
658 | xfs_warn(mp, "SB buffer read failed"); | 658 | xfs_warn(mp, "SB buffer read failed"); |
659 | return EIO; | 659 | return EIO; |
660 | } | 660 | } |
661 | if (bp->b_error) { | ||
662 | error = bp->b_error; | ||
663 | if (loud) | ||
664 | xfs_warn(mp, "SB validate failed"); | ||
665 | goto release_buf; | ||
666 | } | ||
661 | 667 | ||
662 | /* | 668 | /* |
663 | * Initialize the mount structure from the superblock. | 669 | * Initialize the mount structure from the superblock. |