summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_inode_fork.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-11-03 20:34:46 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2017-11-06 22:53:41 +0300
commit0254c2f253d6fe11ea2ce5046ed6acfddbe4ee17 (patch)
treefd4aa8d9631e9a149e3b535893c8ab9b2486f053 /fs/xfs/libxfs/xfs_inode_fork.h
parent6bdcf26ade8825ffcdc692338e715cd7ed0820d8 (diff)
downloadlinux-0254c2f253d6fe11ea2ce5046ed6acfddbe4ee17.tar.xz
xfs: remove the nr_extents argument to xfs_iext_insert
We only have two places that insert 2 extents at the same time, so unroll the loop there. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.h')
-rw-r--r--fs/xfs/libxfs/xfs_inode_fork.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_inode_fork.h b/fs/xfs/libxfs/xfs_inode_fork.h
index 184217076de8..84b5e6f8bf2c 100644
--- a/fs/xfs/libxfs/xfs_inode_fork.h
+++ b/fs/xfs/libxfs/xfs_inode_fork.h
@@ -114,7 +114,7 @@ void xfs_init_local_fork(struct xfs_inode *, int, const void *, int);
xfs_extnum_t xfs_iext_count(struct xfs_ifork *ifp);
void xfs_iext_insert(struct xfs_inode *, struct xfs_iext_cursor *cur,
- xfs_extnum_t, struct xfs_bmbt_irec *, int);
+ struct xfs_bmbt_irec *, int);
void xfs_iext_remove(struct xfs_inode *, struct xfs_iext_cursor *,
int, int);
void xfs_iext_destroy(struct xfs_ifork *);