commit | 9d40fba8b2056773b9744a95df9ddd6cc33a4f83 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Sun Dec 10 18:03:55 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Dec 14 09:20:11 2017 -0800 |
tree | 211491d1ec8fca4e39b4cf58266b2a6e005e8a61 | |
parent | 73353f486c9b5b2407ec32be1004174dbbaf6c18 [diff] |
xfs: avoid infinite loop when cancelling CoW blocks after writeback failure When we're cancelling a cow range, we don't always delete each extent that we iterate, so we have to move icur backwards in the list to avoid an infinite loop. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>