From: Ian Jackson Subject: Re: [PATCH v2 2/2] libxl: implement libxl__xs_mknod using XS_WRITE rather than XS_MKDIR Date: Wed, 25 Nov 2015 16:20:04 +0000 Message-ID: <22101.57268.653508.710065@mariner.uk.xensource.com> References: <1448463060-23575-1-git-send-email-paul.durrant@citrix.com> <1448463060-23575-3-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a1cnh-00076b-UB for xen-devel@lists.xenproject.org; Wed, 25 Nov 2015 16:20:10 +0000 In-Reply-To: <1448463060-23575-3-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: xen-devel@lists.xenproject.org, Wei Liu , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Paul Durrant writes ("[PATCH v2 2/2] libxl: implement libxl__xs_mknod using XS_WRITE rather than XS_MKDIR"): > This patch modifies the implentation of libxl__xs_mknod() to use XS_WRITE > rather than XS_MKDIR since passing an empty value to the former will > ensure that the path is both existent and empty upon return, rather than > merely existent. The function return type is also changed to a libxl > error value rather than a boolean, it's declaration is accordingly moved > into the 'checked' section in libxl_internal.h, and a comment is added to > clarify its semantics. ... Acked-by: Ian Jackson