
12 Feb
2014
12 Feb
'14
7:43 p.m.
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