aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 758543443b66..eb341461feb9 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -3846,7 +3846,7 @@ xlog_do_recover(
3846 3846
3847 /* Convert superblock from on-disk format */ 3847 /* Convert superblock from on-disk format */
3848 sbp = &log->l_mp->m_sb; 3848 sbp = &log->l_mp->m_sb;
3849 xfs_xlatesb(XFS_BUF_TO_SBP(bp), sbp, 1, XFS_SB_ALL_BITS); 3849 xfs_sb_from_disk(sbp, XFS_BUF_TO_SBP(bp));
3850 ASSERT(sbp->sb_magicnum == XFS_SB_MAGIC); 3850 ASSERT(sbp->sb_magicnum == XFS_SB_MAGIC);
3851 ASSERT(XFS_SB_GOOD_VERSION(sbp)); 3851 ASSERT(XFS_SB_GOOD_VERSION(sbp));
3852 xfs_buf_relse(bp); 3852 xfs_buf_relse(bp);
@@ -4024,7 +4024,7 @@ xlog_recover_check_summary(
4024 sbbp = xfs_getsb(mp, 0); 4024 sbbp = xfs_getsb(mp, 0);
4025#ifdef XFS_LOUD_RECOVERY 4025#ifdef XFS_LOUD_RECOVERY
4026 sbp = &mp->m_sb; 4026 sbp = &mp->m_sb;
4027 xfs_xlatesb(XFS_BUF_TO_SBP(sbbp), sbp, 1, XFS_SB_ALL_BITS); 4027 xfs_sb_from_disk(sbp, XFS_BUF_TO_SBP(sbbp));
4028 cmn_err(CE_NOTE, 4028 cmn_err(CE_NOTE,
4029 "xlog_recover_check_summary: sb_icount %Lu itotal %Lu", 4029 "xlog_recover_check_summary: sb_icount %Lu itotal %Lu",
4030 sbp->sb_icount, itotal); 4030 sbp->sb_icount, itotal);