Skip to content
Commit 9d40fba8 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

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: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 73353f48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment