[PATCH 5.11 285/342] md/raid1: properly indicate failure when ending a failed write request