[Ovirt-devel] [PATCH 2/4] Fixes persisting a persisted file, or unpersisting a non-persisted file.

Mike Burns mburns at redhat.com
Wed Mar 24 11:45:46 UTC 2010


On Tue, 2010-03-23 at 11:48 -0400, Darryl L. Pierce wrote:
> Previously the ovirt_store_config function only checked if a directory
> was already persisted. This patch adds in checking if a targeted file
> is already persisted as well. If so, then it fails with an error message.
> 
> When the user tries to unpersist a file that was not explicitly persisted
> before (it's not listed in /config/files) then the user is told the file
> was not persisted previously, and the command exits.
> 
> Resolves: rhbz#576329
> 
> Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
> ---
>  scripts/ovirt-functions |   75 ++++++++++++++++++++++++++++++-----------------
>  1 files changed, 48 insertions(+), 27 deletions(-)
> 
ACK




More information about the ovirt-devel mailing list