[PATCH 6.1 009/440] block: refactor to use helper