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 42458ab7a336..22b6f35765c1 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -3209,9 +3209,9 @@ xlog_recover_do_icreate_pass2(
3209 3209
3210 /* existing allocation is fixed value */ 3210 /* existing allocation is fixed value */
3211 ASSERT(count == mp->m_ialloc_inos); 3211 ASSERT(count == mp->m_ialloc_inos);
3212 ASSERT(length == XFS_IALLOC_BLOCKS(mp)); 3212 ASSERT(length == mp->m_ialloc_blks);
3213 if (count != mp->m_ialloc_inos || 3213 if (count != mp->m_ialloc_inos ||
3214 length != XFS_IALLOC_BLOCKS(mp)) { 3214 length != mp->m_ialloc_blks) {
3215 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count 2"); 3215 xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count 2");
3216 return EINVAL; 3216 return EINVAL;
3217 } 3217 }