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

Eric Blake eblake at redhat.com
Wed Feb 12 18:43:50 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140212/f3e7a8d1/attachment-0001.sig>


More information about the libvir-list mailing list