[PATCH 6.17.y 2/2] xfs: fix various problems in xfs_atomic_write_cow_iomap_begin