summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_ondisk.h
diff options
context:
space:
mode:
authorChristoph Hellwig2017-10-03 17:58:33 +0200
committerDarrick J. Wong2017-10-04 06:27:55 +0200
commite12199f85d0ad1b04ce6c425ad93cd847fe930bb (patch)
treea4d96867b24d45f6e627b72f9d804ed2cb3e92b1 /fs/xfs/xfs_ondisk.h
parentxfs: always swap the cow forks when swapping extents (diff)
downloadkernel-qcow2-linux-e12199f85d0ad1b04ce6c425ad93cd847fe930bb.tar.gz
kernel-qcow2-linux-e12199f85d0ad1b04ce6c425ad93cd847fe930bb.tar.xz
kernel-qcow2-linux-e12199f85d0ad1b04ce6c425ad93cd847fe930bb.zip
xfs: handle racy AIO in xfs_reflink_end_cow
If we got two AIO writes into a COW area the second one might not have any COW extents left to convert. Handle that case gracefully instead of triggering an assert or accessing beyond the bounds of the extent list. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_ondisk.h')
0 files changed, 0 insertions, 0 deletions