]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: treat idx as a cursor in xfs_bmap_add_extent_unwritten_real
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)
commit8121dd76897c80771e40afaa64cb75ed6ab04553
tree4a2105d0196c44cf9912a567249420295e2947bf
parent501dd27684ca0fe064939d8a284db29287785c41
xfs: treat idx as a cursor in xfs_bmap_add_extent_unwritten_real

Source kernel commit: a681847796df31c036810bce97003f687e1db5f4

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