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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]