]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove the nr_extents argument to xfs_iext_remove
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:35 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:35 +0000 (22:11 -0600)
commitcf455a620a6ba247d21e05dda27d5bffe506423c
treef408380af7b440db8aaff1e100410e734f9ae594
parent26a75f6700cdd52975ce1aa37176448e2632e262
xfs: remove the nr_extents argument to xfs_iext_remove

Source kernel commit: c38ccf599022e7454a861145ce1a94c5b5d7e658

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_iext_tree.c
libxfs/xfs_inode_fork.h