commit | fef4d3d5644f984e9fa427dea4f7cfa15de9059c | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Oct 22 14:09:35 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Oct 23 15:34:01 2014 +0200 |
tree | f89756137010976d0313ebbda137ed4d7fa06205 | |
parent | ad27390c85c50df402c7ec0d3864fc43e6559fb3 [diff] |
qcow2: Let inc_refcounts() return -errno As of a future patch, inc_refcounts() will have to throw errors which are generally signaled by returning -errno. Therefore, let it return an integer which is either 0 for success or -errno and handle the -errno case in all callers. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>