summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_ialloc.h
diff options
context:
space:
mode:
authorJie Liu <jeff.liu@oracle.com>2013-12-13 08:51:48 +0400
committerDave Chinner <david@fromorbit.com>2013-12-13 08:51:48 +0400
commit0f49efd805229fc747761213ec820c1ba3ab64db (patch)
tree3871d59b2ff50e3c9226b679ddd3d7d3bf7fb57d /fs/xfs/xfs_ialloc.h
parent717834383c6ad2173323b823b97c521c9fb8fbbb (diff)
downloadlinux-0f49efd805229fc747761213ec820c1ba3ab64db.tar.xz
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.h5
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.