[PATCH 6.1 003/176] md: factor out a helper from mddev_put()