Commits
Kir Kolyshkin authored 3d56c2d7d62
ploop_check(): fix exit codes When an image in 'changing version' state, it does not mean it is corrupted, so do not return SYSEXIT_PLOOPFMT. Instead, use SYSEXIT_EBUSY. When there are no errors in the image, but we can't reset its "in use" flag because read-only flag was specify, do not return SYSEXIT_PLOOPFMT. Instead, use SYSEXIT_WRITE (as a closest alternative to non-existent SYSEXIT_READONLY). Signed-off-by: Kir Kolyshkin <kir@openvz.org>