Received: from eggs.gnu.org ([2001:4830:134:3::10]:45611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO06N-0001lk-KR for qemu-devel@nongnu.org; Wed, 18 Feb 2015 03:35:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YO06I-0003rh-Is for qemu-devel@nongnu.org; Wed, 18 Feb 2015 03:35:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO06I-0003rP-CG for qemu-devel@nongnu.org; Wed, 18 Feb 2015 03:35:18 -0500 From: Markus Armbruster References: <87pp9f1b61.fsf@blackfin.pond.sub.org> <1423799142-21893-1-git-send-email-namei.unix@gmail.com> Date: Wed, 18 Feb 2015 09:35:07 +0100 In-Reply-To: <1423799142-21893-1-git-send-email-namei.unix@gmail.com> (Liu Yuan's message of "Fri, 13 Feb 2015 11:45:42 +0800") Message-ID: <87egpn7h38.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] sheepdog: fix confused return values List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Yuan Cc: sheepdog@lists.wpkg.org, qemu-devel@nongnu.org Liu Yuan writes: > From: Liu Yuan > > 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 > Signed-off-by: Liu Yuan Did you review all functions returning negative errno, or just the two that caught my eye?