[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCHv5 3/7] storage: add file functions for local and block files



On 02/11/2014 09:26 AM, Peter Krempa wrote:
> Implement the "stat" and "unlink" function for "file" volumes and "stat"
> for "block volumes using the regular system calls.

s/"block/&"/

> ---
> 

> +static int
> +virStorageFileBackendFileUnlink(virStorageFilePtr file)
> +{
> +    int ret;
> +
> +    ret = unlink(file->path);
> +    /* preserve errno */
> +
> +    VIR_DEBUG("removing storage file %p(%s): ret=%d,errno=%d",

Maybe a space after the comma, but not the end of the world in a debug
message.

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]