summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_iomap.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-10-03 19:11:35 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2016-10-05 23:55:40 +0300
commit43caeb187deb92b3cc343fce9c2310512f6ac9cd (patch)
treebd45c48042fec0ce1748f800733a5919b1dc5c18 /fs/xfs/xfs_iomap.c
parent4862cfe825c0087c14452b362e708a35da675f5e (diff)
downloadlinux-43caeb187deb92b3cc343fce9c2310512f6ac9cd.tar.xz
xfs: move mappings from cow fork to data fork after copy-write
After the write component of a copy-write operation finishes, clean up the bookkeeping left behind. On error, we simply free the new blocks and pass the error up. If we succeed, however, then we must remove the old data fork mapping and move the cow fork mapping to the data fork. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> [hch: Call the CoW failure function during xfs_cancel_ioend] Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
0 files changed, 0 insertions, 0 deletions