diff options
author | Christoph Hellwig <hch@sgi.com> | 2005-06-21 01:40:20 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-06-21 01:40:20 -0400 |
commit | 48fab6bf5f8baf0d16b20a35e537719d14b66275 (patch) | |
tree | 3243d398d195cdeff5c392695c72956525af87b8 /fs/xfs/xfs_macros.c | |
parent | 6add2c4288801bd7fd0a4cc3277de7688f1f6714 (diff) |
[XFS] add XFS_INOBT_IS_FREE_DISK
SGI-PV: 928382
SGI-Modid: xfs-linux:xfs-kern:193778a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_macros.c')
-rw-r--r-- | fs/xfs/xfs_macros.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/xfs/xfs_macros.c b/fs/xfs/xfs_macros.c index ce4f46c6b3ab..698c2cd62858 100644 --- a/fs/xfs/xfs_macros.c +++ b/fs/xfs/xfs_macros.c | |||
@@ -1658,6 +1658,11 @@ xfs_inobt_is_free(xfs_inobt_rec_t *rp, int i) | |||
1658 | { | 1658 | { |
1659 | return XFS_INOBT_IS_FREE(rp, i); | 1659 | return XFS_INOBT_IS_FREE(rp, i); |
1660 | } | 1660 | } |
1661 | int | ||
1662 | xfs_inobt_is_free_disk(xfs_inobt_rec_t *rp, int i) | ||
1663 | { | ||
1664 | return XFS_INOBT_IS_FREE_DISK(rp, i); | ||
1665 | } | ||
1661 | #endif | 1666 | #endif |
1662 | 1667 | ||
1663 | #if XFS_WANT_FUNCS_C || (XFS_WANT_SPACE_C && XFSSO_XFS_INOBT_IS_LAST_REC) | 1668 | #if XFS_WANT_FUNCS_C || (XFS_WANT_SPACE_C && XFSSO_XFS_INOBT_IS_LAST_REC) |