From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53454 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKPvJ-0002oL-0F for qemu-devel@nongnu.org; Mon, 22 Nov 2010 01:30:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKPvG-0001Jo-IF for qemu-devel@nongnu.org; Mon, 22 Nov 2010 01:30:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKPvG-0001Jk-7X for qemu-devel@nongnu.org; Mon, 22 Nov 2010 01:30:42 -0500 Message-ID: <4CEA0D79.4070500@redhat.com> Date: Mon, 22 Nov 2010 07:28:09 +0100 From: Jes Sorensen MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v3] virtio-9p: fix build on !CONFIG_UTIMENSAT References: <4CB56715.7080605@jp.fujitsu.com> <4CB64FF6.5080906@jp.fujitsu.com> <20101104170303.GE15211@sequoia.sous-sol.org> <4CD3A513.2010102@jp.fujitsu.com> <20101114055822.GE25164@sequoia.sous-sol.org> <4CE0969D.5070703@jp.fujitsu.com> <4CE097C4.3070700@jp.fujitsu.com> <4CE93923.4050303@codemonkey.ws> In-Reply-To: <4CE93923.4050303@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Chris Wright , Hidetoshi Seto , "kvm@vger.kernel.org" , "Hao, Xudong" , "qemu-devel@nongnu.org" , Blue Swirl , mohan@in.ibm.com, Avi Kivity On 11/21/10 16:22, Anthony Liguori wrote: > On 11/14/2010 08:15 PM, Hidetoshi Seto wrote: >> This patch introduce a fallback mechanism for old systems that do not >> support utimensat(). This fix build failure with following warnings: >> >> hw/virtio-9p-local.c: In function 'local_utimensat': >> hw/virtio-9p-local.c:479: warning: implicit declaration of function >> 'utimensat' >> hw/virtio-9p-local.c:479: warning: nested extern declaration of >> 'utimensat' >> >> and: >> >> hw/virtio-9p.c: In function 'v9fs_setattr_post_chmod': >> hw/virtio-9p.c:1410: error: 'UTIME_NOW' undeclared (first use in this >> function) >> hw/virtio-9p.c:1410: error: (Each undeclared identifier is reported >> only once >> hw/virtio-9p.c:1410: error: for each function it appears in.) >> hw/virtio-9p.c:1413: error: 'UTIME_OMIT' undeclared (first use in this >> function) >> hw/virtio-9p.c: In function 'v9fs_wstat_post_chmod': >> hw/virtio-9p.c:2905: error: 'UTIME_OMIT' undeclared (first use in this >> function) >> >> v3: >> - Use better alternative handling for UTIME_NOW/OMIT >> - Move qemu_utimensat() to cutils.c >> V2: >> - Introduce qemu_utimensat() >> >> Signed-off-by: Hidetoshi Seto >> > > Applied. Thanks. > > Regards, > > Anthony Liguori Anthony, Did you actually apply this one? I don't see it in the git tree. However if you did, that was a mistake, the qemu_utimensat() should not have gone into cutils.c as I pointed out earlier, it is inconsistent. Cheers, Jes