]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e94160cce7b27fd831e7970aea8bc85e531db40
tree64709fb42fe56f24fc398069abc09e9087a17ec9
parent697e79543be9332594feeec759a45a13f37c81b5
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