]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: treat idx as a cursor in xfs_bmap_collapse_extents
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:34 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:34 +0000 (22:11 -0600)
commitc162e3194bc34dcf7719693ba996dcb9be89e1ff
treedc6f63775c5b4ceec43660528f99224de0699750
parent28441228c7a5a2e035e92eaf35588ee1f058bb0d
xfs: treat idx as a cursor in xfs_bmap_collapse_extents

Source kernel commit: 42630361003461edd7607c1d459ab9d66ef97813

Stop poking before and after the index and just increment or decrement
it while doing our operations on it to prepare for a new extent list
implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
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