summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans_space.h
diff options
context:
space:
mode:
authorJie Liu <jeff.liu@oracle.com>2013-12-13 15:51:48 +1100
committerDave Chinner <david@fromorbit.com>2013-12-13 15:51:48 +1100
commit126cd105d4408ff52437a72d681aecdb29cc80e8 (patch)
tree097c3bf19140a74050661d72bd5c7875af91c586 /fs/xfs/xfs_trans_space.h
parent0f49efd805229fc747761213ec820c1ba3ab64db (diff)
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_trans_space.h')
-rw-r--r--fs/xfs/xfs_trans_space.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans_space.h b/fs/xfs/xfs_trans_space.h
index 7d2c920dfb9c..af5dbe06cb65 100644
--- a/fs/xfs/xfs_trans_space.h
+++ b/fs/xfs/xfs_trans_space.h
@@ -47,7 +47,7 @@
#define XFS_DIRREMOVE_SPACE_RES(mp) \
XFS_DAREMOVE_SPACE_RES(mp, XFS_DATA_FORK)
#define XFS_IALLOC_SPACE_RES(mp) \
- (XFS_IALLOC_BLOCKS(mp) + (mp)->m_in_maxlevels - 1)
+ ((mp)->m_ialloc_blks + (mp)->m_in_maxlevels - 1)
/*
* Space reservation values for various transactions.