summaryrefslogtreecommitdiffstats
path: root/mm/ksm.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-12-11 03:03:55 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2017-12-14 18:20:11 +0100
commit9d40fba8b2056773b9744a95df9ddd6cc33a4f83 (patch)
tree211491d1ec8fca4e39b4cf58266b2a6e005e8a61 /mm/ksm.c
parentxfs: relax is_reflink_inode assert in xfs_reflink_find_cow_mapping (diff)
downloadlinux-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/ksm.c')
0 files changed, 0 insertions, 0 deletions