Commit 8921a0fd authored by Darrick J. Wong's avatar Darrick J. Wong

xfs: remove __xfs_icache_free_eofblocks

This is now a pointless wrapper, so kill it.
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
parent 390600f8
...@@ -1512,22 +1512,12 @@ xfs_inode_free_eofblocks( ...@@ -1512,22 +1512,12 @@ xfs_inode_free_eofblocks(
return ret; return ret;
} }
static int
__xfs_icache_free_eofblocks(
struct xfs_mount *mp,
struct xfs_eofblocks *eofb,
int (*execute)(struct xfs_inode *ip, void *args),
int tag)
{
return xfs_inode_ag_iterator(mp, 0, execute, eofb, tag);
}
int int
xfs_icache_free_eofblocks( xfs_icache_free_eofblocks(
struct xfs_mount *mp, struct xfs_mount *mp,
struct xfs_eofblocks *eofb) struct xfs_eofblocks *eofb)
{ {
return __xfs_icache_free_eofblocks(mp, eofb, xfs_inode_free_eofblocks, return xfs_inode_ag_iterator(mp, 0, xfs_inode_free_eofblocks, eofb,
XFS_ICI_EOFBLOCKS_TAG); XFS_ICI_EOFBLOCKS_TAG);
} }
...@@ -1789,7 +1779,7 @@ xfs_icache_free_cowblocks( ...@@ -1789,7 +1779,7 @@ xfs_icache_free_cowblocks(
struct xfs_mount *mp, struct xfs_mount *mp,
struct xfs_eofblocks *eofb) struct xfs_eofblocks *eofb)
{ {
return __xfs_icache_free_eofblocks(mp, eofb, xfs_inode_free_cowblocks, return xfs_inode_ag_iterator(mp, 0, xfs_inode_free_cowblocks, eofb,
XFS_ICI_COWBLOCKS_TAG); XFS_ICI_COWBLOCKS_TAG);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment