]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove the nr_extents argument to xfs_iext_insert
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Nov 2017 17:34:46 +0000 (10:34 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Nov 2017 19:53:41 +0000 (11:53 -0800)
commit8c6e7600a98f983db7d0a9a8caab001f352a380a
treefd4aa8d9631e9a149e3b535893c8ab9b2486f053
parent655827e9f8a368a6cfa116116f81fc4f07bb3cf3
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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_iext_tree.c
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/libxfs/xfs_inode_fork.h