From patchwork Mon Mar 4 06:27:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 2210731 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7004F40077 for ; Mon, 4 Mar 2013 06:27:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755192Ab3CDG1t (ORCPT ); Mon, 4 Mar 2013 01:27:49 -0500 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:62392 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754079Ab3CDG1s (ORCPT ); Mon, 4 Mar 2013 01:27:48 -0500 Received: from mudshark.cambridge.arm.com (mudshark.cambridge.arm.com [10.1.79.58]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id r246Rdki000065; Mon, 4 Mar 2013 06:27:39 GMT Received: by mudshark.cambridge.arm.com (Postfix, from userid 1000) id 78DE5C0336; Mon, 4 Mar 2013 06:27:34 +0000 (GMT) From: Will Deacon To: penberg@kernel.org Cc: kvm@vger.kernel.org, Marc Zyngier , Will Deacon Subject: [PATCH 2/2] kvm tools: 9p: fix compilation broken by new stat structures Date: Mon, 4 Mar 2013 06:27:31 +0000 Message-Id: <1362378451-15216-2-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1362378451-15216-1-git-send-email-will.deacon@arm.com> References: <1362378451-15216-1-git-send-email-will.deacon@arm.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: Marc Zyngier Commit 447c50943fd0 ("9p: Modify the stat structures to use kuid_t and kgid_t") broke the 9p backend by introducing the k{u,g}id_t types, which aren't currently in scope. Just fix the damn thing by including linux/uidgid.h. Signed-off-by: Marc Zyngier Signed-off-by: Will Deacon --- tools/kvm/virtio/9p-pdu.c | 1 + tools/kvm/virtio/9p.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/kvm/virtio/9p-pdu.c b/tools/kvm/virtio/9p-pdu.c index b9ce8ce..9e95f3b 100644 --- a/tools/kvm/virtio/9p-pdu.c +++ b/tools/kvm/virtio/9p-pdu.c @@ -5,6 +5,7 @@ #include #include +#include #include static void virtio_p9_pdu_read(struct p9_pdu *pdu, void *data, size_t size) diff --git a/tools/kvm/virtio/9p.c b/tools/kvm/virtio/9p.c index 60865dd..b7a5723 100644 --- a/tools/kvm/virtio/9p.c +++ b/tools/kvm/virtio/9p.c @@ -18,6 +18,7 @@ #include #include +#include #include static LIST_HEAD(devs);