Patch "md: only allow remove_and_add_spares when no sync_thread running." has been added to the 4.9-stable tree