libvirt/src/storage
Laine Stump ae3d31bf4f Remove erroneous setting of return value to errno.
One error exit in virStorageBackendCreateBlockFrom was setting the
return value to errno. The convention for volume build functions is to
return 0 on success or -1 on failure. Not only was it not necessary to
set the return value (it defaults to -1, and is set to 0 when
everything has been successfully completed), in the case that some
caller were checking for < 0 rather than != 0, they would incorrectly
believe that it completed successfully.
2010-07-21 17:32:19 -04:00
..
parthelper.c RFC: Canonicalize block device paths 2010-07-15 12:57:01 -04:00
storage_backend_disk.c virFileResolveLink: fix return value 2010-05-17 14:48:27 -06:00
storage_backend_disk.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_fs.c Change virDirCreate to return -errno on failure. 2010-07-21 14:32:59 -04:00
storage_backend_fs.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_iscsi.c Remove virConnectPtr from storage APIs & driver 2010-02-10 13:32:11 +00:00
storage_backend_iscsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_logical.c storage: Check for invalid storage mode before opening 2010-05-28 15:47:49 -04:00
storage_backend_logical.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_mpath.c storage: Check for invalid storage mode before opening 2010-05-28 15:47:49 -04:00
storage_backend_mpath.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_scsi.c storage: Check for invalid storage mode before opening 2010-05-28 15:47:49 -04:00
storage_backend_scsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend.c Remove erroneous setting of return value to errno. 2010-07-21 17:32:19 -04:00
storage_backend.h build: make cpp indentation conform 2010-05-29 09:45:21 +02:00
storage_driver.c Fix error codes for missing storage pools 2010-06-08 15:11:13 +01:00
storage_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00