diff options
author | Jie Liu <jeff.liu@oracle.com> | 2013-12-13 08:51:48 +0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2013-12-13 08:51:48 +0400 |
commit | 126cd105d4408ff52437a72d681aecdb29cc80e8 (patch) | |
tree | 097c3bf19140a74050661d72bd5c7875af91c586 /fs/xfs/xfs_log_recover.c | |
parent | 0f49efd805229fc747761213ec820c1ba3ab64db (diff) | |
download | linux-126cd105d4408ff52437a72d681aecdb29cc80e8.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 4 |
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( /* 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; } |