[PATCH OLK-6.6 v2 66/66] md: prevent incorrect update of resync/recovery offset