mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
Refactor these functions to - avoid repetition of common code (mostly stat of block device path); - perform early return if nothing is to be done; - remove some excessive nesting. It also improves some error messages. This is a preparation for the next commit. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>