[PATCH 5.4 84/92] bdev: Factor out bdev revalidation into a common helper