[PATCH 5.7 162/376] xfs: reset buffer write failure state on successful completion