Skip to content

Commit 8921a0f

Browse files
committed
xfs: remove __xfs_icache_free_eofblocks
This is now a pointless wrapper, so kill it. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Brian Foster <[email protected]>
1 parent 390600f commit 8921a0f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

fs/xfs/xfs_icache.c

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,22 +1512,12 @@ xfs_inode_free_eofblocks(
15121512
return ret;
15131513
}
15141514

1515-
static int
1516-
__xfs_icache_free_eofblocks(
1517-
struct xfs_mount *mp,
1518-
struct xfs_eofblocks *eofb,
1519-
int (*execute)(struct xfs_inode *ip, void *args),
1520-
int tag)
1521-
{
1522-
return xfs_inode_ag_iterator(mp, 0, execute, eofb, tag);
1523-
}
1524-
15251515
int
15261516
xfs_icache_free_eofblocks(
15271517
struct xfs_mount *mp,
15281518
struct xfs_eofblocks *eofb)
15291519
{
1530-
return __xfs_icache_free_eofblocks(mp, eofb, xfs_inode_free_eofblocks,
1520+
return xfs_inode_ag_iterator(mp, 0, xfs_inode_free_eofblocks, eofb,
15311521
XFS_ICI_EOFBLOCKS_TAG);
15321522
}
15331523

@@ -1789,7 +1779,7 @@ xfs_icache_free_cowblocks(
17891779
struct xfs_mount *mp,
17901780
struct xfs_eofblocks *eofb)
17911781
{
1792-
return __xfs_icache_free_eofblocks(mp, eofb, xfs_inode_free_cowblocks,
1782+
return xfs_inode_ag_iterator(mp, 0, xfs_inode_free_cowblocks, eofb,
17931783
XFS_ICI_COWBLOCKS_TAG);
17941784
}
17951785

0 commit comments

Comments
 (0)