[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sheepdog: fix confused return values
From: |
Liu Yuan |
Subject: |
Re: [Qemu-devel] [PATCH] sheepdog: fix confused return values |
Date: |
Fri, 13 Feb 2015 11:49:54 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Feb 13, 2015 at 11:45:42AM +0800, Liu Yuan wrote:
> From: Liu Yuan <address@hidden>
>
> 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.
>
> Reported-by: Markus Armbruster <address@hidden>
> Signed-off-by: Liu Yuan <address@hidden>
Cc Kevin and Stefan