]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove the nr_extents argument to xfs_iext_insert
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)
commit26a75f6700cdd52975ce1aa37176448e2632e262
tree7d6c1eb79a59141a3ffb8414d7bc63b542a228db
parentb37d753d506f7714d669c8082a02295948238e90
xfs: remove the nr_extents argument to xfs_iext_insert

Source kernel commit: 0254c2f253d6fe11ea2ce5046ed6acfddbe4ee17

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