summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLiu Yuan <liuyuan@cmss.chinamobile.com>2015-02-18 11:57:55 +0800
committerKevin Wolf <kwolf@redhat.com>2015-03-10 14:02:23 +0100
commit833a7cc36e63653641558ba27148076f9a32062f (patch)
treea0daafb1344b0547457472bfe45947d554794a63 /tests
parente0c59cc7608f84fcaddc827e05d38af8d10447a3 (diff)
downloadhqemu-833a7cc36e63653641558ba27148076f9a32062f.zip
hqemu-833a7cc36e63653641558ba27148076f9a32062f.tar.gz
sheepdog: fix confused return values
These functions mix up -1 and -errno in return values and would might cause trouble error handling in the call chain. This patch let them return -errno and add some comments. Cc: qemu-devel@nongnu.org Cc: Markus Armbruster <armbru@redhat.com> Cc: Kevin Wolf <kwolf@redhat.com> Cc: Stefan Hajnoczi <stefanha@redhat.com> Reported-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Liu Yuan <liuyuan@cmss.chinamobile.com> Message-id: 1424231875-7131-1-git-send-email-namei.unix@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud