| commit | 1a39ae415c1be1e46f5b3f97d438c7c4adc22b63 | [log] [tgz] |
|---|---|---|
| author | Gao Xiang <hsiangkao@linux.alibaba.com> | Fri Feb 25 16:18:30 2022 -0800 |
| committer | Darrick J. Wong <djwong@kernel.org> | Wed Mar 09 10:32:06 2022 -0800 |
| tree | 96647e38438a299b1234dcebc8e984f1d147512a | |
| parent | 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3 [diff] |
xfs: add missing cmap->br_state = XFS_EXT_NORM update COW extents are already converted into written real extents after xfs_reflink_convert_cow_locked(), therefore cmap->br_state should reflect it. Otherwise, there is another necessary unwritten convertion triggered in xfs_dio_write_end_io() for direct I/O cases. Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>