xfs: get rid of XFS_IALLOC_BLOCKS macros
Get rid of XFS_IALLOC_BLOCKS() marcos, use mp->m_ialloc_blks directly. Signed-off-by: Jie Liu <jeff.liu@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
@@ -3209,9 +3209,9 @@ xlog_recover_do_icreate_pass2(
|
||||
|
||||
/* existing allocation is fixed value */
|
||||
ASSERT(count == mp->m_ialloc_inos);
|
||||
ASSERT(length == XFS_IALLOC_BLOCKS(mp));
|
||||
ASSERT(length == mp->m_ialloc_blks);
|
||||
if (count != mp->m_ialloc_inos ||
|
||||
length != XFS_IALLOC_BLOCKS(mp)) {
|
||||
length != mp->m_ialloc_blks) {
|
||||
xfs_warn(log->l_mp, "xlog_recover_do_icreate_trans: bad count 2");
|
||||
return EINVAL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user