diff options
author | Dave Chinner <david@fromorbit.com> | 2015-06-23 08:48:43 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-06-23 08:48:43 +1000 |
commit | 3d238b7e0efc2d9dde7513298ef32da289a6a0f4 (patch) | |
tree | e427366b478ecc974a4fc2a341a75f6c0114b012 /fs/xfs/libxfs/xfs_format.h | |
parent | 4ea79766168b64766d6c9fcdaa9fab83a6cfebcf (diff) | |
parent | 496817b4befced99dff6f23997723bf0962d56b0 (diff) | |
download | linux-stable-3d238b7e0efc2d9dde7513298ef32da289a6a0f4.tar.gz linux-stable-3d238b7e0efc2d9dde7513298ef32da289a6a0f4.tar.bz2 linux-stable-3d238b7e0efc2d9dde7513298ef32da289a6a0f4.zip |
Merge branch 'xfs-freelist-cleanup' into for-next
Diffstat (limited to 'fs/xfs/libxfs/xfs_format.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_format.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index 815f61b02bc1..a0ae572051de 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h @@ -766,19 +766,6 @@ typedef struct xfs_agfl { #define XFS_AGFL_CRC_OFF offsetof(struct xfs_agfl, agfl_crc) - -#define XFS_AG_MAXLEVELS(mp) ((mp)->m_ag_maxlevels) -#define XFS_MIN_FREELIST_RAW(bl,cl,mp) \ - (MIN(bl + 1, XFS_AG_MAXLEVELS(mp)) + MIN(cl + 1, XFS_AG_MAXLEVELS(mp))) -#define XFS_MIN_FREELIST(a,mp) \ - (XFS_MIN_FREELIST_RAW( \ - be32_to_cpu((a)->agf_levels[XFS_BTNUM_BNOi]), \ - be32_to_cpu((a)->agf_levels[XFS_BTNUM_CNTi]), mp)) -#define XFS_MIN_FREELIST_PAG(pag,mp) \ - (XFS_MIN_FREELIST_RAW( \ - (unsigned int)(pag)->pagf_levels[XFS_BTNUM_BNOi], \ - (unsigned int)(pag)->pagf_levels[XFS_BTNUM_CNTi], mp)) - #define XFS_AGB_TO_FSB(mp,agno,agbno) \ (((xfs_fsblock_t)(agno) << (mp)->m_sb.sb_agblklog) | (agbno)) #define XFS_FSB_TO_AGNO(mp,fsbno) \ |