[PATCH 6.1 23/97] xfs: fix error returns from xfs_bmapi_write