• J
    storage: fix return values of virStorageBackendWipeExtentLocal · 09cbfc04
    Ján Tomko 提交于
    Return -1:
    * on all failures of fdatasync. Instead of propagating -errno
      all the way up to the virStorageVolWipe API, which is documented
      to return 0 or -1.
    * after a partial wipe. If safewrite failed, we would re-use the
      non-negative return value of lseek (which should be 0 in this case,
      because that's the only offset we seek to).
    09cbfc04
storage_backend.c 68.8 KB