[PATCH 6.17.y 1/2] xfs: fix delalloc write failures in software-provided atomic writes