[PATCH OLK-6.6 05/18] md: factor out a helper rdev_is_spare() from remove_and_add_spares()