diff options
author | Jie Liu <jeff.liu@oracle.com> | 2013-12-13 15:51:48 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2013-12-13 15:51:48 +1100 |
commit | 0f49efd805229fc747761213ec820c1ba3ab64db (patch) | |
tree | 3871d59b2ff50e3c9226b679ddd3d7d3bf7fb57d /fs/xfs/xfs_ialloc.h | |
parent | 717834383c6ad2173323b823b97c521c9fb8fbbb (diff) | |
download | lwn-0f49efd805229fc747761213ec820c1ba3ab64db.tar.gz lwn-0f49efd805229fc747761213ec820c1ba3ab64db.zip |
xfs: get rid of XFS_INODE_CLUSTER_SIZE macros
Get rid of XFS_INODE_CLUSTER_SIZE() macros, use mp->m_inode_cluster_size
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_ialloc.h')
-rw-r--r-- | fs/xfs/xfs_ialloc.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/xfs/xfs_ialloc.h b/fs/xfs/xfs_ialloc.h index 4689b025f79f..98ce63e35bd4 100644 --- a/fs/xfs/xfs_ialloc.h +++ b/fs/xfs/xfs_ialloc.h @@ -30,11 +30,8 @@ struct xfs_btree_cur; */ #define XFS_IALLOC_BLOCKS(mp) (mp)->m_ialloc_blks -/* - * Move inodes in clusters of this size. - */ +/* Move inodes in clusters of this size */ #define XFS_INODE_BIG_CLUSTER_SIZE 8192 -#define XFS_INODE_CLUSTER_SIZE(mp) (mp)->m_inode_cluster_size /* * Make an inode pointer out of the buffer/offset. |