libvirt/src/storage
Daniel P. Berrange a81822063d Fix errno return in safezero()
Most of the safezero() implementations return -1 on error,
setting errno. The safezero() impl using posix_fallocate()
though returned a positive errno value on error (due to
the unusual API contract of posix_fallocate() compared to
most syscall APIs).

* src/util/util.c: Ensure safezero() returns -1 and sets
  errno on error.
* src/storage/storage_backend.c: Change safezero != 0 to
  < 0 for detecting errors
2011-06-17 11:02:18 +01:00
..
parthelper.c storage: Allow to delete device mapper disk partition 2011-02-17 15:29:07 +08:00
storage_backend_disk.c maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
storage_backend_disk.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_fs.c Move virRun, virExec*, virFork to util/command 2011-06-07 14:06:11 -04:00
storage_backend_fs.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_iscsi.c storage_backend: Fix error reporting with regex helper 2011-05-17 10:16:38 -04:00
storage_backend_iscsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_logical.c Move virRun, virExec*, virFork to util/command 2011-06-07 14:06:11 -04:00
storage_backend_logical.h Fix two out-of-date comments in LVM backend 2011-04-17 08:37:31 +02:00
storage_backend_mpath.c storage: make debug log more useful 2011-02-22 10:10:31 +08:00
storage_backend_mpath.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_scsi.c Improve SCSI volume key generation 2011-04-05 16:04:22 +01:00
storage_backend_scsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend.c Fix errno return in safezero() 2011-06-17 11:02:18 +01:00
storage_backend.h storage: List directory volumes for dir/fs/netfs pools 2011-05-31 12:47:58 -04:00
storage_driver.c Add many version number annotations to drivers 2011-05-16 14:20:48 +01:00
storage_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00