[libvirt] [PATCH v2 10/15] storage: Introduce virStoragePoolObjBuildTempFilePath

Peter Krempa pkrempa at redhat.com
Fri Jun 24 13:48:33 UTC 2016


On Thu, Jun 23, 2016 at 13:29:06 -0400, John Ferlan wrote:
> Create a function to return a temporary file path to be used in a mkostemp
> type call using the path to the stateDir + pool->def->name + vol->name
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/storage/storage_driver.c | 24 ++++++++++++++++++++++++
>  src/storage/storage_driver.h |  6 +++++-
>  2 files changed, 29 insertions(+), 1 deletion(-)
> 
> diff --git a/src/storage/storage_driver.h b/src/storage/storage_driver.h
> index 912c232..99c58bc 100644
> --- a/src/storage/storage_driver.h
> +++ b/src/storage/storage_driver.h
> @@ -1,7 +1,7 @@
>  /*
>   * storage_driver.h: core driver for storage APIs
>   *
> - * Copyright (C) 2006-2008, 2014 Red Hat, Inc.
> + * Copyright (C) 2006-2008, 2014-2016 Red Hat, Inc.
>   * Copyright (C) 2006-2008 Daniel P. Berrange
>   *
>   * This library is free software; you can redistribute it and/or

ACK without the noise.




More information about the libvir-list mailing list