diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-12-11 03:03:55 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-12-14 18:20:11 +0100 |
commit | 9d40fba8b2056773b9744a95df9ddd6cc33a4f83 (patch) | |
tree | 211491d1ec8fca4e39b4cf58266b2a6e005e8a61 /mm/backing-dev.c | |
parent | xfs: relax is_reflink_inode assert in xfs_reflink_find_cow_mapping (diff) | |
download | linux-9d40fba8b2056773b9744a95df9ddd6cc33a4f83.tar.xz linux-9d40fba8b2056773b9744a95df9ddd6cc33a4f83.zip |
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>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions