xfs: remove the nr_extents argument to xfs_iext_remove
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Nov 2017 17:34:47 +0000 (10:34 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Nov 2017 19:53:41 +0000 (11:53 -0800)
commitc38ccf599022e7454a861145ce1a94c5b5d7e658
tree64709fb42fe56f24fc398069abc09e9087a17ec9
parent0254c2f253d6fe11ea2ce5046ed6acfddbe4ee17
xfs: remove the nr_extents argument to xfs_iext_remove

We only have two places that remove 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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_iext_tree.c
fs/xfs/libxfs/xfs_inode_fork.h