[PATCH v2 4/6] device-mapper: Avoid double-fetch of version